Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 6,187 for New (0.03 seconds)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testConstructor() {
            // Test with normal path
            request = new Smb2CreateRequest(mockConfig, "test\\file.txt");
            assertNotNull(request);
            assertEquals("\\test\\file.txt", request.getPath());
    
            // Test with leading backslash
            request = new Smb2CreateRequest(mockConfig, "\\test\\file2.txt");
            assertEquals("\\test\\file2.txt", request.getPath());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Prepare minimal buffer
            byte[] buffer = new byte[24];
    
            // Test with offset 0
            int bytesDecoded = response.decode(buffer, 0, 24);
            assertEquals(24, bytesDecoded, "Should return 24 bytes consumed from offset 0");
    
            // Test with different offset
            response = new ValidateNegotiateInfoResponse();
            buffer = new byte[50];
            bytesDecoded = response.decode(buffer, 10, 24);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            ImmutableList.of(
                new TestFuture(doneSuccess, "doneSuccess", () -> {}),
                new TestFuture(doneFailed, "doneFailed", () -> {}),
                new TestFuture(doneCancelled, "doneCancelled", () -> {}),
                new TestFuture(doneRuntimeException, "doneRuntimeException", () -> {}),
                new TestFuture(delayedSuccess, "delayedSuccess", () -> delayedSuccess.set("b")),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            ImmutableList.of(
                new TestFuture(doneSuccess, "doneSuccess", () -> {}),
                new TestFuture(doneFailed, "doneFailed", () -> {}),
                new TestFuture(doneCancelled, "doneCancelled", () -> {}),
                new TestFuture(doneRuntimeException, "doneRuntimeException", () -> {}),
                new TestFuture(delayedSuccess, "delayedSuccess", () -> delayedSuccess.set("b")),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        lmHash = new byte[0];
                        ntHash = new byte[(password.length() + 1) * 2];
                        writeString(password, ntHash, 0);
                    } else {
                        // plain text
                        final String password = auth.getPassword();
                        lmHash = new byte[(password.length() + 1) * 2];
                        ntHash = new byte[0];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            return Stream.of(Arguments.of("returns self", (Supplier<SmbRenewableCredentials>) SelfRenewingCreds::new, true, false),
                    Arguments.of("returns new", (Supplier<SmbRenewableCredentials>) NewRenewingCreds::new, false, true),
                    Arguments.of("returns null", (Supplier<SmbRenewableCredentials>) NullRenewingCreds::new, false, false));
        }
    
        @ParameterizedTest(name = "renew() {0}")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            TestAuthenticationChain chain = new TestAuthenticationChain();
            chain.updateThrowsException = false;
    
            chain.update(null);
    
            assertEquals(1, chain.updateCalls.size());
            assertNull(chain.updateCalls.get(0));
        }
    
        // Test update with multiple calls
        @Test
        public void test_update_multipleCalls() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            LogNotificationHelper helper = new LogNotificationHelper();
            int numThreads = 8;
            int eventsPerThread = 200;
            ExecutorService executor = Executors.newFixedThreadPool(numThreads);
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch doneLatch = new CountDownLatch(numThreads);
            AtomicInteger totalDrained = new AtomicInteger(0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Cut.java

        Comparable<?> endpoint() {
          throw new IllegalStateException("range unbounded on this side");
        }
    
        @Override
        boolean isLessThan(Comparable<?> value) {
          return true;
        }
    
        @Override
        BoundType typeAsLowerBound() {
          throw new IllegalStateException();
        }
    
        @Override
        BoundType typeAsUpperBound() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 50;
    
            // Act
            int result = response.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should return 0")
        void testWriteParametersWireFormat() {
            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top