Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1941 - 1950 of 4,454 for getI (0.02 seconds)

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

        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        return delegate.size();
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return delegate.containsKey(key);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return delegate.get(key);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumMap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/HashMultimapTest.java

        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/xml/ParametricNullness.java

     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
     *   <li>methods whose return type is a type variable but which can return {@code null} regardless
     *       of the type argument supplied by the user of the class: For example, {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        return finishToValueAndCloser(closingFuture).get();
      }
    
      @Override
      void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) {
        assertThatFutureFailsWithException(closingFuture.statusFuture());
        ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture);
        try {
          valueAndCloser.get();
          fail();
        } catch (ExecutionException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

            for (Artifact artifact : artifacts) {
                Object key = VersionsMetadata.getKey(artifact);
                if (processedVersions.get(key) == null) {
                    VersionsMetadata versionsMetadata = versions.get(key);
                    if (versionsMetadata == null) {
                        versionsMetadata = new VersionsMetadata(artifact, timestamp);
                        versions.put(key, versionsMetadata);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java

                            + "%sThis is not supported because it breaks running in parallel. Configure dedicated "
                            + "services for each project and use those instead.",
                        otherProject.get(),
                        this.project.getPath(),
                        serviceName,
                        path
                    )
                );
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.4K bytes
    - Click Count (0)
  8. docs/ko/docs/index.md

    * 대안가능한 사용자 인터페이스를 2개 포함한 자동 대화형 API 문서:
        * Swagger UI.
        * ReDoc.
    
    ---
    
    이전 코드 예제로 돌아가서, **FastAPI**는 다음처럼 처리합니다:
    
    * `GET` 및 `PUT` 요청에 `item_id`가 경로에 있는지 검증.
    * `GET` 및 `PUT` 요청에 `item_id`가 `int` 타입인지 검증.
        * 그렇지 않다면 클라이언트는 유용하고 명확한 에러를 볼 수 있습니다.
    * `GET` 요청에 `q`라는 선택적인 쿼리 매개변수가 있는지 검사(`http://127.0.0.1:8000/items/foo?q=somequery`처럼).
        * `q` 매개변수는 `= None`으로 선언되었기 때문에 선택사항입니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

       *     the size of {@code iterable}
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(Iterable<T> iterable, int position) {
        checkNotNull(iterable);
        return (iterable instanceof List)
            ? ((List<T>) iterable).get(position)
            : Iterators.get(iterable.iterator(), position);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okhttp3.internal.http.StatusLine
    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top