Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 66 (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            response.readParameterWordsWireFormat(buffer, 0);
    
            long firstCall = response.getOffset();
            long secondCall = response.getOffset();
            long thirdCall = response.getOffset();
    
            assertEquals(66L, firstCall, "First call should return 66");
            assertEquals(66L, secondCall, "Second call should return 66");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // MAC is at index 0-5, actual stats at 6-11
            byte[] expectedStats = new byte[12];
            System.arraycopy(testMac, 0, expectedStats, 0, 6); // MAC at beginning
            System.arraycopy(stats, 0, expectedStats, 6, 6); // Stats after MAC
            assertArrayEquals(expectedStats, parsedStats);
        }
    
        @Test
        void readRDataWireFormat_shouldHandleUnknownQueryAddress() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                // Verify structure size (should be 41)
                assertEquals(41, SMBUtil.readInt2(buffer, 64));
    
                // Verify info type and file info class
                assertEquals((byte) 0x01, buffer[66]);
                assertEquals((byte) 0x04, buffer[67]);
    
                // Verify output buffer length
                assertEquals(0x8000, SMBUtil.readInt4(buffer, 68));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                // Verify structure size (should be 33)
                assertEquals(33, SMBUtil.readInt2(buffer, 64));
    
                // Verify info type and file info class
                assertEquals((byte) 0x01, buffer[66]);
                assertEquals((byte) 0x04, buffer[67]);
    
                // Verify additional information
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, 76));
    
                // Verify file ID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Structure size = 2
            SMBUtil.writeInt2(2, buffer, bufferIndex + 64);
    
            // Decode the response
            int result = response.decode(buffer, bufferIndex);
    
            assertEquals(66, result);
            assertEquals(0, response.getStatus()); // Should be STATUS_SUCCESS
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat preserves buffer content")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Add some dummy security data at offset 64 from start
            buffer[64] = (byte) 0x4E; // NTLMSSP signature start
            buffer[65] = (byte) 0x54;
            buffer[66] = (byte) 0x4C;
            buffer[67] = (byte) 0x4D;
            buffer[68] = (byte) 0x53;
            buffer[69] = (byte) 0x53;
            buffer[70] = (byte) 0x50;
            buffer[71] = (byte) 0x00;
    
            return buffer;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

       * @since 20.0
       */
      @GwtIncompatible // TODO
      public static boolean isPrime(long n) {
        if (n < 2) {
          checkNonNegative("n", n);
          return false;
        }
        if (n < 66) {
          // Encode all primes less than 66 into mask without 0 and 1.
          long mask =
              (1L << (2 - 2))
                  | (1L << (3 - 2))
                  | (1L << (5 - 2))
                  | (1L << (7 - 2))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, buffer, offset + 4);
                byte[] salt = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
                System.arraycopy(salt, 0, buffer, offset + 6, 6);
    
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext();
                int bytesRead = context.decode(buffer, offset, 12);
    
                assertEquals(12, bytesRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
Back to top