Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 1,808 for only (0.02 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(buffer.size(), bytesEncoded);
                assertEquals(4 + 2 * path.length(), bytesEncoded);
            }
    
            @Test
            @DisplayName("Should handle path with only backslashes")
            void testPathWithOnlyBackslashes() {
                String path = "\\\\\\\\\\\\";
                buffer = new DfsReferralRequestBuffer(path, 2);
    
                byte[] dst = new byte[buffer.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            boolean port139Failover = delegatingConfig.isPort139FailoverEnabled();
            boolean dfsStrictView = delegatingConfig.isDfsStrictView();
    
            // Then
            assertTrue(smb2Only, "Should delegate SMB2 only negotiation");
            assertFalse(secureNegotiate, "Should delegate secure negotiate requirement");
            assertTrue(ntlmTargetName, "Should delegate NTLM target name setting");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

                buffer[i] = (byte) (i % 256);
            }
    
            int offset = 50;
            trans2QueryFSInfo.writeParametersWireFormat(buffer, offset);
    
            // Check that only the 2 bytes at offset were modified
            for (int i = 0; i < offset; i++) {
                assertEquals((byte) (i % 256), buffer[i], "Buffer before offset should be unchanged");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Should report 26 bytes written (20 from encode + 6 increment)
            assertEquals(26, written);
    
            // Check that padding bytes are zeros
            // The implementation writes 8 bytes with writeInt8 but only increments by 6
            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        }
    
        /**
         * Gets or creates the SPNEGO authenticator instance.
         *
         * This method implements lazy initialization with synchronization to ensure
         * the authenticator is only created once. It configures the authenticator
         * with the appropriate SPNEGO settings and marks initialization as complete.
         *
         * @return The configured SPNEGO authenticator instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (3)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        }
    
        @Override
        public Multiset<K> create(Object... elements) {
          /*
           * This is nasty and complicated, but it's the only way to make sure keys get mapped to enough
           * distinct values.
           */
          Entry<?, ?>[] entries = new Entry<?, ?>[elements.length];
          Map<K, Iterator<V>> valueIterators = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        )
      }
    
      /**
       * The runner doesn't hold references to its queues! Otherwise we'd need a mechanism to clean them
       * up when they're no longer needed and that's annoying. Instead the task runner only tracks which
       * queues have work scheduled.
       */
      @Test fun activeQueuesContainsOnlyQueuesWithScheduledTasks() {
        redQueue.execute("task one", 100.µs) {
          // Do nothing.
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            throwableFromOtherThread.get());
      }
    
      /**
       * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks
       * completed.
       */
      public void testDirectExecutorService_awaitTermination_missedSignal() {
        ExecutorService service = newDirectExecutorService();
        Thread waiter =
            new Thread() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                        log.debug("Connection state was " + before);
                    }
    
                    try {
                        /*
                         * The hostname to use in the path is only known for
                         * sure if the NetBIOS session has been successfully
                         * established.
                         */
    
                        final String tconHostName = sess.getTargetHost();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top