Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,184 for Kits (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

     * Tests for {@link RegularImmutableAsList}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class RegularImmutableAsListTest extends TestCase {
      /**
       * RegularImmutableAsList should assume its input is null-free without checking, because it only
       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

    import org.eclipse.aether.repository.MirrorSelector;
    import org.eclipse.aether.repository.ProxySelector;
    import org.eclipse.aether.repository.RemoteRepository;
    
    /**
     * Extender that fills in legacy bits (using legacy code).
     *
     * @since 4.0.0
     */
    @Named
    @Singleton
    public class LegacyRepositorySystemSessionExtender implements RepositorySystemSessionExtender {
        @Override
        public void extend(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

    /**
     * Describes a problem that was encountered during project building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface BuilderProblem {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
         * We test peek() after various calls to make sure that one bad call doesn't interfere with its
         * ability to throw the correct exception in the future.
         */
        assertThrows(NoSuchElementException.class, iter::peek);
        assertThrows(NoSuchElementException.class, iter::peek);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        }
    
        // Cause the rebuild action to fail.
        filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, true)
        taskFaker.runNextTask()
    
        // The rebuild is retried on cache hits and on cache edits.
        val snapshot = cache["b"]!!
        snapshot.close()
        assertThat(cache.edit("d")).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // On cache misses, no retry job is queued.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/MapRetrievalCache.java

          return entry.value;
        }
        entry = cacheEntry2;
        if (entry != null && entry.key == key) {
          // Promote second cache entry to first so the access pattern
          // [K1, K2, K1, K3, K1, K4...] still hits the cache half the time.
          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
        super.clearCache();
        cacheEntry1 = null;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        byte[] bytes = new byte[16];
        secureRandom.nextBytes(bytes);
        return ByteString.of(bytes);
      }
    
      private HttpUrl redirectUrl() {
        return mockWebServer.url("/oauth/");
      }
    
      /** When the browser hits the redirect URL, use the provided code to ask Slack for a session. */
      @Override public MockResponse dispatch(RecordedRequest request) {
        HttpUrl requestUrl = mockWebServer.url(request.getPath());
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (1)
  8. mockwebserver/README.md

          .body("sup, bra?")
          .build());
      server.enqueue(new MockResponse.Builder()
          .body("yo dog")
          .build());
    
      // Start the server.
      server.start();
    
      // Ask the server for its URL. You'll need this to make HTTP requests.
      HttpUrl baseUrl = server.url("/v1/chat/");
    
      // Exercise your application code, which should make those HTTP requests.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

    Each of those response `dict`s can have a key `model`, containing a Pydantic model, just like `response_model`.
    
    **FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI.
    
    For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Ordering.java

       * SortedSet} or {@link SortedMap} from it, as the resulting collection will not behave exactly
       * according to spec.
       *
       * <p>This ordering is not serializable, as its implementation relies on {@link
       * System#identityHashCode(Object)}, so its behavior cannot be preserved across serialization.
       *
       * @since 2.0
       */
      // TODO(kevinb): copy to Comparators, etc.
      @J2ktIncompatible // MapMaker
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top