Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 388 for unchanged (0.04 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            assertFalse(renewed, "renewCredentials should return false when renewable credentials are not renewed");
            assertEquals(mockRenewableCredentials, wrapper.getCredentials(), "Credentials should remain unchanged if renew() returns null");
            verify(mockRenewableCredentials).renew();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationTest.java

            byte[] originalRequestBuffer = negotiation.getRequestRaw();
            byte[] originalResponseBuffer = negotiation.getResponseRaw();
    
            // Verify fields remain unchanged on subsequent calls
            assertSame(originalRequest, negotiation.getRequest());
            assertSame(originalResponse, negotiation.getResponse());
            assertSame(originalRequestBuffer, negotiation.getRequestRaw());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                echoRequest.writeBytesWireFormat(buffer, startIndex);
    
                // Check bytes before written area are unchanged
                for (int i = 0; i < startIndex; i++) {
                    assertEquals((byte) 0xFF, buffer[i]);
                }
    
                // Check bytes after written area are unchanged
                for (int i = startIndex + 4; i < buffer.length; i++) {
                    assertEquals((byte) 0xFF, buffer[i]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FakeTicker.java

        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
       * <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
       * queried.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                writeBytes.setAccessible(true);
                writeBytes.invoke(cancel, dst, 0);
    
                // Then - array should remain unchanged
                assertArrayEquals(originalDst, dst);
            }
    
            @Test
            @DisplayName("Read operations should not modify buffer array")
            void testReadOperationsDoNotModifyArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/EncodableTest.java

            for (int i = 0; i < len; i++) {
                assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i);
            }
    
            // Assert: bytes before and after region remain unchanged.
            for (int i = 0; i < dstIndex; i++) {
                assertEquals((byte) 0x55, dst[i], "Unexpected change before copy region at " + i);
            }
            for (int i = dstIndex + len; i < dst.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/ByteEncodableTest.java

            // Verify encoded length
            assertEquals(0, encodedLen, "Encoded length should be zero for zero length encodable");
            assertArrayEquals(new byte[] { 0x00, 0x00, 0x00 }, dest, "Destination array should remain unchanged for zero length encoding");
        }
    
        @Test
        void testEncodeEmptySourceArray() {
            // Test with an empty source array
            byte[] data = {};
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                // Modify the copy
                copyFileId[0] = 0x00;
    
                // Verify original is unchanged
                assertEquals((byte) 0xFF, originalFileId[0], "Original FileId should remain unchanged");
                assertArrayEquals(
                        new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java

        return new Colliders();
      }
    
      @Override
      public Object[] createArray(int length) {
        return new Object[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<Object> order(List<Object> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top