Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for wordCount (0.24 sec)

  1. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            int start = dstIndex;
    
            this.wordCount = writeParameterWordsWireFormat(dst, start + ANDX_OFFSET_OFFSET + 2);
            this.wordCount += 4; // for command, reserved, and offset
            dstIndex += this.wordCount + 1;
            this.wordCount /= 2;
            dst[ start ] = (byte) ( this.wordCount & 0xFF );
    
            this.byteCount = writeBytesWireFormat(dst, dstIndex + 2);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        int writeAndXWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            wordCount = writeParameterWordsWireFormat( dst,
                        start + ANDX_OFFSET_OFFSET + 2 );
            wordCount += 4; // for command, reserved, and offset
            dstIndex += wordCount + 1;
            wordCount /= 2;
            dst[start] = (byte)( wordCount & 0xFF );
    
            byteCount = writeBytesWireFormat( dst, dstIndex + 2 );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
            return new String( "SmbComNegotiate[" +
                super.toString() +
                ",wordCount="   + wordCount +
                ",dialects=NT LM 0.12]" );
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            return 0;
        }
    
    
        @Override
        public String toString () {
            return new String("SmbComNegotiate[" + super.toString() + ",wordCount=" + this.wordCount + ",dialects=NT LM 0.12]");
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.3K bytes
    - Viewed (0)
  5. docs/bigdata/README.md

    ### **4.2 WordCount**
    
    WordCount is a simple program that counts how often a word occurs in a text file. The code builds a dataset of (String, Int) pairs called counts, and saves the dataset to a file.
    
    The following example submits WordCount code to the Scala shell. Select an input file for the Spark WordCount example. We can use any text file as input.
    
    - Login as user **‘spark’**.
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  6. src/bufio/scan_test.go

    		s := NewScanner(buf)
    		s.Split(ScanWords)
    		words := strings.Fields(test)
    		var wordCount int
    		for wordCount = 0; wordCount < len(words); wordCount++ {
    			if !s.Scan() {
    				break
    			}
    			got := s.Text()
    			if got != words[wordCount] {
    				t.Errorf("#%d: %d: expected %q got %q", n, wordCount, words[wordCount], got)
    			}
    		}
    		if s.Scan() {
    			t.Errorf("#%d: scan ran too long, got %q", n, s.Text())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            bufferIndex += readHeaderWireFormat( buffer, bufferIndex );
    
            wordCount = buffer[bufferIndex++];
            if( wordCount != 0 ) {
                int n;
                if(( n = readParameterWordsWireFormat( buffer, bufferIndex )) != wordCount * 2 ) {
                    if( log.level >= 5 ) {
                        log.println( "wordCount * 2=" + ( wordCount * 2 ) +
                                " but readParameterWordsWireFormat returned " + n );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.wordCount = buffer[ bufferIndex++ ];
            if ( this.wordCount != 0 ) {
                int n;
                if ( ( n = readParameterWordsWireFormat(buffer, bufferIndex) ) != this.wordCount * 2 ) {
                    if ( log.isTraceEnabled() ) {
                        log.trace("wordCount * 2=" + ( this.wordCount * 2 ) + " but readParameterWordsWireFormat returned " + n);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            }
    
            return bufferIndex - start;
        }
        public String toString() {
            return new String( "SmbComNegotiateResponse[" +
                super.toString() +
                ",wordCount="           + wordCount +
                ",dialectIndex="        + dialectIndex +
                ",securityMode=0x"      + Hexdump.toHexString( server.securityMode, 1 ) +
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            if( wordCount == 0 ) {
                return 0;
            }
            fileAttributes = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastWriteTime = readUTime( buffer, bufferIndex );
            bufferIndex += 4;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
Back to top