Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 331 for 0x02 (0.19 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Verify resumeKey (4 bytes)
            assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6));
    
            // Verify tflags (2 bytes) - should be 0x00
            assertEquals(0x00, SMBUtil.readInt2(buffer, 10));
    
            // Verify filename
            String actualFilename = readString(buffer, 12, written - 12);
            assertEquals(TEST_FILENAME, actualFilename);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

            this.request = new DfsReferralRequestBuffer(filename, maxReferralLevel);
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 4096;
            this.maxSetupCount = (byte) 0x00;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#isForceUnicode()
         */
        @Override
        public boolean isForceUnicode() {
            return true;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

            maxParameterCount = 6;
            maxDataCount = 0;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. docs/features/events.md

        .build();
    client.newCall(newYorkTimesRequest).enqueue(new Callback() {
      ...
    });
    ```
    
    Running this race over home WiFi shows the Times (`0002`) completes just slightly sooner than the Post (`0001`):
    
    ```
    0001 https://www.washingtonpost.com/
    0001 0.000 callStart
    0002 https://www.nytimes.com/
    0002 0.000 callStart
    0002 0.010 dnsStart
    0001 0.013 dnsStart
    0001 0.022 dnsEnd
    0002 0.019 dnsEnd
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            SMBUtil.writeInt2(this.writeMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.dataLength, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dataOffset, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            super(config, SMB_COM_TRANSACTION2, TRANS2_SET_FILE_INFORMATION);
            this.fid = fid;
            this.info = info;
            this.maxParameterCount = 6;
            this.maxDataCount = 0;
            this.maxSetupCount = (byte) 0x00;
        }
    
        /**
         * Constructs a Trans2SetFileInformation request with specific file attributes and timestamps.
         *
         * @param config the SMB configuration
         * @param fid the file identifier
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            }
            writeInt2(writeMode, dst, dstIndex);
            dstIndex += 2;
            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(dataLength, dst, dstIndex);
            dstIndex += 2;
            writeInt2(dataOffset, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset >> 32, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/IsProbablyUtf8Test.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
            invalidBuffer[2] = 0x00;
            invalidBuffer[3] = 0x00;
    
            assertThrows(IllegalArgumentException.class, () -> {
                Smb2TransformHeader.decode(invalidBuffer, 0);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    
      @Benchmark
      byte hashing(int reps) {
        byte result = 0x01;
        HashMethod hashMethod = this.hashMethod;
        Algorithm algorithm = this.algorithm;
        for (int i = 0; i < reps; i++) {
          result ^= hashMethod.hash(algorithm, testBytes)[0];
        }
        return result;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top