Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,239 for Same (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
          if (nextElements.remove(e)) {
            nextElements.push(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testConstructor2NPE() {
        double[] a = null;
        assertThrows(NullPointerException.class, () -> new AtomicDoubleArray(a));
      }
    
      /** constructor with array is of same size and has all elements */
      public void testConstructor2() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES);
        assertEquals(VALUES.length, aa.length());
        for (int i = 0; i < VALUES.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            String testKey = "domain.title";
            String value1 = fessConfig.get(testKey);
            String value2 = fessConfig.get(testKey);
    
            // Values should be the same
            assertEquals("Test Fess", value1);
            assertEquals(value1, value2);
        }
    
        // Test property that should be consistent
        public void test_get_propertyFilter() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testHandlerEquality() throws Exception {
            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       */
      var noNewExchanges = false
    
      /**
       * If true, this connection may not be used for coalesced requests. These are requests that could
       * share the same connection without sharing the same hostname.
       */
      private var noCoalescedConnections = false
    
      /**
       * The number of times there was a problem establishing a stream that could be due to route
       * chosen. Guarded by this.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("/site1/search", result.getRoutingPath());
    
            // The header remains for subsequent tests due to static request handling
            // Different matching header added to same request
            request.addHeader("X-Forwarded-Host", "test.com");
            result = virtualHostHelper.getVirtualHostPath(page);
            assertEquals("/site1/search", result.getRoutingPath()); // Still site1 due to header precedence
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            void testValueConsistency() {
                // Given: Same input value
                int inputValue = 1000;
                int expectedMasked = inputValue & 0xFF; // 232
    
                // When: Creating multiple NdrShort instances
                NdrShort ndrShort1 = new NdrShort(inputValue);
                NdrShort ndrShort2 = new NdrShort(inputValue);
    
                // Then: All should have same masked value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            String retrievedMessage = exception.getMessage();
            assertEquals(testMessage, retrievedMessage);
    
            // Test that multiple calls return the same message
            assertEquals(retrievedMessage, exception.getMessage());
            assertEquals(retrievedMessage, exception.getMessage());
        }
    
        public void test_fillInStackTrace() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            int referent1 = Encdec.dec_uint32le(buffer, 0);
            assertTrue(referent1 > 0); // Should be a positive referent ID
    
            ndrBuffer.reset();
            ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent
            assertEquals(4, ndrBuffer.getIndex());
            assertEquals(referent1, Encdec.dec_uint32le(buffer, 0));
    
            ndrBuffer.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

     * task should not be executed again. Otherwise it returns a delay until the next execution.
     *
     * A task has at most one next execution. If the same task instance is scheduled multiple times, the
     * earliest one wins. This applies to both executions scheduled with [TaskRunner.Queue.schedule] and
     * those implied by the returned execution delay.
     *
     * Cancellation
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top