Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 637 for bots (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          .isEqualTo(lastModifiedDate)
      }
    
      @Test
      fun maxAgeInThePastWithDateHeaderButNoLastModifiedHeader() {
        // Chrome interprets max-age relative to the local clock. Both our cache
        // and Firefox both use the earlier of the local and server's clock.
        assertNotCached(
          MockResponse
            .Builder()
            .addHeader("Date: " + formatDate(-120, TimeUnit.SECONDS))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.chain(second);
                testMessage.setDigest(mockDigest);
    
                byte[] buffer = new byte[1024];
                testMessage.encode(buffer, 0);
    
                // Both messages should be signed
                verify(mockDigest, times(2)).sign(any(), anyInt(), anyInt(), any(), any());
            }
        }
    
        @Nested
        @DisplayName("Protected Method Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        logger.addHandler(logHandler);
        ServiceManager manager =
            new ServiceManager(Arrays.<Service>asList(new FailRunService(), new FailStartService()));
        // Due to the implementation of the two services we know that both are now failed.  So the
        // following awaitHealthy call is just to get the exception.
        manager.startAsync();
        assertThat(manager.servicesByState().get(State.FAILED)).hasSize(2);
        IllegalStateException e =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
         * the parameter and return type both to be platform types. As a result, Kotlin permits calls
         * that can lead to NullPointerException. That's unfortunate. But hopefully most Kotlin callers
         * use `get(key) ?: defaultValue` instead of this method, anyway.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            }
          } else if (messageOrClose is Close) {
            val close = messageOrClose
            writer!!.writeClose(close.code, close.reason)
    
            // We closed the writer: now both reader and writer are closed.
            if (sendOnClosed) {
              listener.onClosed(this, receivedCloseCode, receivedCloseReason!!)
            }
          } else {
            throw AssertionError()
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimap.java

       * <p>A non-empty {@link SetMultimap} cannot be equal to a non-empty {@link ListMultimap}, since
       * their {@link #asMap} views contain unequal collections as values. However, any two empty
       * multimaps are equal, because they both have empty {@link #asMap} views.
       */
      @Override
      boolean equals(@Nullable Object obj);
    
      /**
       * Returns the hash code for this multimap.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertArrayEquals(testFileId, closeResponse.getFileId());
                assertNull(closeResponse.getFileName());
            }
    
            @Test
            @DisplayName("Constructor should accept both null parameters")
            void testConstructorWithBothNull() {
                // When
                Smb2CloseResponse closeResponse = new Smb2CloseResponse(mockConfig, null, null);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top