Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,239 for Same (0.02 sec)

  1. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
         * Verifies that the method returns the name of the principal.
         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
            when(mockPrincipal.getName()).thenReturn(expectedUserName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertTrue(toStringResult.contains(message));
        }
    
        public void test_getMessage_consistency() {
            // Test that getMessage returns the same value consistently
            String message = "Consistent message";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            String firstCall = exception.getMessage();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       */
      @CanIgnoreReturnValue
      @Override
      public SortedSet<V> removeAll(@Nullable Object key) {
        return (SortedSet<V>) super.removeAll(key);
      }
    
      /**
       * Stores a collection of values with the same key, replacing any existing values for that key.
       * The returned collection is immutable.
       *
       * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given key, this method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread2, 2);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multiset.java

       * exactly one entry for each distinct element in the multiset (thus it always has the same size
       * as the {@link #elementSet}). The order of the elements in the element set is unspecified.
       *
       * <p>The entry set is backed by the same data as the multiset, so any change to either is
       * immediately reflected in the other. However, multiset changes may or may not be reflected in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RangeMap.java

     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Test that the same reference is returned (implementation detail)
            byte[] secondGuid = response.getServerGuid();
            assertSame(returnedGuid, secondGuid, "getServerGuid() returns the same array reference");
        }
    
        @Test
        @DisplayName("Test multiple decode calls on same instance")
        void testMultipleDecodeCalls() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            assertSame(d, r1, "nextElement should return the same instance");
            // After first call isPrimary should be false
            assertFalse(d.getIsPrimary(), "isPrimary should be cleared after first call");
            // Second call keeps the same state
            SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement();
            assertSame(d, r2, "Subsequent calls still return same instance");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.IOException
    
    /**
     * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection.
     *
     * ## Protocol vs Scheme
     *
     * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http,
     * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word
     * *protocol* to identify how HTTP messages are framed.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. docs/features/events.md

      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
        if (name.equals("callStart")) {
          callStartNanos = nowNanos;
        }
        long elapsedNanos = nowNanos - callStartNanos;
        System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name);
      }
    
      @Override public void callStart(Call call) {
        printEvent("callStart");
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top