Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for 000 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode zero values")
            void testDecodeZeroValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidCopyChunkResponse(0, 0, 0);
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(0, response.getChunksWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0x80, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0xa0, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32)));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size correctly with no data")
            void testSizeWithNoData() {
                request.setData(new byte[0], 0, 0);
                int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8;
                assertEquals(expectedSize, request.size());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Setup deferred buffer chain for entry decoding
                mockDeferredBuffer.deferred = mockDeferredBuffer;
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn(0, 0, 0); // SamrSamEntry fields
    
                // When: Decoding array
                array.decode(mockNdrBuffer);
    
                // Then: Should have entries
                assertEquals(1, array.count);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

       * in a single load operation.
       */
      public double missRate() {
        long requestCount = requestCount();
        return (requestCount == 0) ? 0.0 : (double) missCount / requestCount;
      }
    
      /**
       * Returns the total number of times that {@link Cache} lookup methods attempted to load new
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/operand_test.go

    }
    
    var ppc64OperandTests = []operandTest{
    	{"$((1<<63)-1)", "$9223372036854775807"},
    	{"$(-64*1024)", "$-65536"},
    	{"$(1024 * 8)", "$8192"},
    	{"$-1", "$-1"},
    	{"$-24(R4)", "$-24(R4)"},
    	{"$0", "$0"},
    	{"$0(R1)", "$(R1)"},
    	{"$0.5", "$(0.5)"},
    	{"$0x7000", "$28672"},
    	{"$0x88888eef", "$2290650863"},
    	{"$1", "$1"},
    	{"$_main<>(SB)", "$_main<>(SB)"},
    	{"$argframe(FP)", "$argframe(FP)"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(hash32, Hashing.combineOrdered(ImmutableList.of(hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0x80, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32)));
        assertEquals(
            HashCode.fromBytes(new byte[] {(byte) 0xa0, 0, 0, 0}),
            Hashing.combineOrdered(ImmutableList.of(hash32, hash32, hash32)));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

        class SizeTests {
    
            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    
                // When
                int size = chunk.size();
    
                // Then
                assertEquals(EXPECTED_SIZE, size);
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            assertEquals(resume_handle, enumAll.resume_handle);
        }
    
        @Test
        void testShareEnumAllGetOpnum() {
            srvsvc.ShareEnumAll enumAll = new srvsvc.ShareEnumAll(null, 0, null, 0, 0, 0);
            assertEquals(0x0f, enumAll.getOpnum());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        }
    
        @Test
        @DisplayName("Test with minimum values")
        void testWithMinimumValues() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\", "*", 0, 0, 0);
    
            byte[] buffer = new byte[256];
            int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
    
            assertEquals(0, SMBUtil.readInt2(buffer, 0)); // search attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top