Search Results

Search: Posts Made By: 915086731
Forum: IP Networking 10-18-2017
6,698
Posted By 915086731
Insmod custom module fails with message : disagrees about version of symbol ...
Hello :

I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after...
Forum: Programming 05-31-2014
3,220
Posted By 915086731
tmp1 = (simtime - seg->time) /...
tmp1 = (simtime - seg->time) / currdisk->rotatetime;
currdisk->currangle += tmp1;
The above code can also cause NaN in the later calling.
So I step into to the assembly.
tmp1 = (simtime -...
Forum: Programming 05-30-2014
3,220
Posted By 915086731
assembly code tmp1 = (simtime -...
assembly code
tmp1 = (simtime - seg->time) / currdisk->rotatetime;
0x0808fdf4 <disk_buffer_sector_done+559>: fldl 0x80b2208
0x0808fdfa <disk_buffer_sector_done+565>: mov ...
Forum: Programming 05-30-2014
3,220
Posted By 915086731
Both (double)currdisk->currangle and...
Both (double)currdisk->currangle and (double)currdisk->rotatetime are defined in one struct obviously, the overlap between the two elements is impossible. After I introduced tmp1, sometimes I get...
Forum: Programming 05-30-2014
3,220
Posted By 915086731
Strange value of the double type variable: -nan(0x8000000000000)
I am confused by the value of "currdisk->currangle" after adding operation. Initially the value of "currdisk->currangle" is 0.77500000000000013, but after adding operation, it's changed to...
Forum: Hardware 04-16-2014
104,256
Posted By 915086731
Ask for the explanation of types of RAM of disk
I have read a document which tells me the following 4 things are done by the RAM embedded on disk driver controller. But I don't know what's difference between buffer and cache. Thanks!

RAM on...
Forum: Programming 05-26-2012
2,001
Posted By 915086731
To my gcc , just modify the following statement ...
To my gcc , just modify the following statement


friend ostream& operator<< <Type>(ostream& os,SingleListNode<Type>& sln)
to

friend ostream& operator<< (ostream&...
Forum: Programming 05-13-2012
2,001
Posted By 915086731
C++ template error
I get some compiling errors about template instantiation :wall: , but I can't find where the syntax errors happens. Can some help me?


template<typename Type> class SingleList;
...
Forum: Red Hat 11-27-2011
2,882
Posted By 915086731
Kernel can not boot after upgrade on Fedora OS 15.
Hello, everyone.
I am using Fedora 15, and want to upgrade to version 16. I follow the official link Upgrading Fedora using yum - FedoraProject...
2,284
Posted By 915086731
Can ctag and cscope support recording search results and displaying the history results ?
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display...
Forum: Programming 10-31-2011
2,260
Posted By 915086731
Thanks, (gdb) call callme $1 = {void...
Thanks,

(gdb) call callme $1 = {void (void)} 0x80486d4 <callme>
gdb does not step in function after "call callme" .
Forum: Programming 10-27-2011
2,260
Posted By 915086731
Thanks #include <stdio.h> void callme(){ ...
Thanks

#include <stdio.h>
void callme(){
fputs( "hello\n", stdout );
}
void main() {
fputs( "begin\n", stdout );
callme();
fputs( "end\n", stdout );
}


gdb :

(gdb)...
Forum: Programming 10-27-2011
2,260
Posted By 915086731
How to step in one function after the function be executed in gdb?
In gdb, I can call one function with command "call", but how can I step in the function? I don't want to restart the program, but the function had been executed, gdb will execute next statement, and...
Forum: Programming 10-27-2011
1,128
Posted By 915086731
Value changed when parsing parameters
I get a strange problem here, and ask for help.

(gdb)
28 set_file_bit( file, bytePos, bitPos, argv[1] );
(gdb) p argv[1]
$3 = 0xbfffef5c "00"
(gdb)...
1,118
Posted By 915086731
Why "map! <C-q> :q <CR> " does not work in vim.
Hello,
I input :map! <C-q> :q <CR> in command line mode, then return to normal mode, and press ctrl-q, but vim does not quit. Why?

Thanks!
Forum: Programming 10-23-2011
1,722
Posted By 915086731
The format of every file is similar, each column...
The format of every file is similar, each column stands for one meaning,and can be compared with the another column in another file.
Forum: Programming 10-21-2011
1,722
Posted By 915086731
Yes, you are right. every column has it's...
Yes, you are right. every column has it's relationship with one column in another file. The compare work is too much.
Forum: Programming 10-19-2011
1,722
Posted By 915086731
How to test many texts generated by many commands ?
Hello, I have hundreds of text files to be tested.They are generated by many commands. I should check whether a word in specific position is right, or whether a word in file A is equal to a word in...
Forum: Programming 10-17-2011
1,810
Posted By 915086731
Value printed by gdb does not consist with the right value
Hello, I find the value printed by gdb does not consist with the right value.The following is the output.

(gdb)
7 while ( ( optc = getopt(argc, argv, ":b:B:h" ) ) != -1 ) {
(gdb)
8 ...
10,191
Posted By 915086731
However, awk can not print the content between $2...
However, awk can not print the content between $2 and $3.
10,191
Posted By 915086731
Cutting fields from lines with multiple spaces
Please see the following code, between "status" and "OK" exists many spaces, I want to get status OK . how to ignore multi spaces? If tab exists in the spaces, how to ignore it...
2,350
Posted By 915086731
I have find a article, a chapter shows...
I have find a article, a chapter shows "Remembering patterns with \(, \) and \1" , does awk support it ?
1,742
Posted By 915086731
How can awk search a string without using regular expression?
Hello,
Awk seem treat the pattern as regular expression, how can awk search not using regular expression? e.g. [Aa] just represent for "[Aa]", not "A" or "a" . I don't want to add backslash [ and ] .
2,350
Posted By 915086731
Can awk record the match result? FS==" " , 2s ...
Can awk record the match result? FS==" " , 2s 4sso between 2s and 4s exists 4 spaces, the the match results is 4 spaces.
2,350
Posted By 915086731
I am using fedora 15 , bash environment.
I am using fedora 15 , bash environment.
Showing results 1 to 25 of 58

 
All times are GMT -4. The time now is 05:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy