Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 4,454 for getC (0.02 seconds)

  1. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

        return inverse;
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public @Nullable V get(@Nullable Object key) {
        Object result =
            RegularImmutableMap.get(keyHashTable, alternatingKeysAndValues, size, keyOffset, key);
        /*
         * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our
         * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

      @CollectionSize.Require(SEVERAL)
      public void testMultimapRemoveDeletesFirstOccurrence() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
    
        List<V> list = multimap().get(k0());
        multimap().remove(k0(), v0());
        assertContentsInOrder(list, v1(), v0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testRemoveAtIndexFromGetPropagates() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/HttpHeadersTest.java

                "CDN", "CH", "ID", "DNT", "DNS", "DPR", "ECT", "GPC", "HTTP2", "IP", "MD5", "P3P",
                "RTT", "TE", "UA", "UID", "URL", "WWW", "XSS");
    
        for (Field field : httpHeadersFields()) {
          assertThat(field.get(null))
              .isEqualTo(upperToHttpHeaderName(field.getName(), specialCases, uppercaseAcronyms));
        }
      }
    
      // Tests that there are no duplicate HTTP header names
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            } else {
                String current = ChecksumAlgorithmHelper.calculate(
                                src.getPath(), List.of(new Sha1ChecksumAlgorithmFactory()))
                        .get(Sha1ChecksumAlgorithmFactory.NAME);
                String existing = sourceState.get();
                if (!Files.exists(target) || !Objects.equals(current, existing)) {
                    pomArtifactTransformer.transform(project, session, src, target);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java

        public void round(Blackhole bh) {
            Rounding.Prepared rounder = rounderBuilder.get();
            for (int i = 0; i < dates.length; i++) {
                bh.consume(rounder.round(dates[i]));
            }
        }
    
        @Benchmark
        public void nextRoundingValue(Blackhole bh) {
            Rounding.Prepared rounder = rounderBuilder.get();
            for (int i = 0; i < dates.length; i++) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  6. cmd/admin-handlers-config-kv.go

    		return result, err
    	}
    
    	// Write the config input KV to history.
    	err = saveServerConfigHistory(ctx, objectAPI, kvBytes)
    	return result, err
    }
    
    // GetConfigKVHandler - GET /minio/admin/v3/get-config-kv?key={key}
    //
    // `key` can be one of three forms:
    // 1. `subsys:target` -> request for config of a single subsystem and target pair.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.8K bytes
    - Click Count (1)
  7. cmd/signature-v4-utils_test.go

    	extractedContentSha256 := extractedSignedHeaders.Get("x-amz-content-sha256")
    	// "host" header value from the extracted result.
    	extractedHost := extractedSignedHeaders.Get("host")
    	//  "x-amz-date" header from the extracted result.
    	extractedDate := extractedSignedHeaders.Get("x-amz-date")
    	// extracted `expect` header.
    	extractedExpect := extractedSignedHeaders.Get("expect")
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. docs_src/path_params_numeric_validations/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")],
        q: Annotated[str | None, Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 375 bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
        // Verify that the listener does not get called in a reasonable amount of
        // time.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertEquals(expectedValue, future.get());
      }
    
      public void testCancelledFuture() throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertThrows(CancellationException.class, future::get);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top