Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for wordCount (0.13 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);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  2. 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);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  3. 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 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. 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 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K 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’**.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 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())
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbComNegotiateResponse[" + super.toString() + ",wordCount=" + this.wordCount + ",dialectIndex=" + this.dialectIndex + ",securityMode=0x"
                        + Hexdump.toHexString(this.server.securityMode, 1) + ",security="
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return new String(
                "command=" + c + ",status=" + str + ",flags=0x" + Hexdump.toHexString(this.flags, 4) + ",mid=" + this.mid + ",wordCount=" + this.wordCount
                        + ",byteCount=" + this.byteCount);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    SmbComReadAndXResponse r = (SmbComReadAndXResponse)resp;
                    int off = HEADER_LENGTH;
                                        /* WordCount thru dataOffset always 27 */
                    readn( in, BUF, 4 + off, 27 ); off += 27;
                    resp.decode( BUF, 4 );
                                                  /* EMC can send pad w/o data */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top