Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 3,915 for get3 (0.09 sec)

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

        original.put(1, "foo", 'a');
        assertEquals((Character) 'a', transpose.get("foo", 1));
      }
    
      public void testPutTransposeModifiesOriginal() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        Table<String, Integer, Character> transpose = transpose(original);
        transpose.put("foo", 1, 'a');
        assertEquals((Character) 'a', original.get(1, "foo"));
      }
    
      public void testTransposedViews() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. misc/go_android_exec/exitcode_test.go

    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    	pre := "abc" + exitStr + "123def"
    	text := pre + exitStr + `1`
    	for i := 0; i < len(text); i++ {
    		_, err := f.Write([]byte{text[i]})
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

        }
    
        public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
            return getKuromojiFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final KuromojiItem kuromojiItem) {
            getKuromojiFile(dictId).ifPresent(file -> {
                if (kuromojiItem.getId() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        .connectionSpecs(listOf(*specs))
        .build()
    }
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
      System.out.printf("%-40s ", url)
      System.out.flush()
      println(Platform.get())
      val request =
        Request.Builder()
          .url(url)
          .build()
      try {
        client.newCall(request).execute().use { response ->
          val handshake = response.handshake
          println(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertEquals("foo", callableFuture.get());
    
        TestRunnable runnable2 = new TestRunnable();
        ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3);
        assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture2.isDone());
        assertTrue(runnable2.run);
        assertEquals((Integer) 3, runnableFuture2.get());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  7. ci/official/containers/ml_build/setup.python.sh

      ln -sf /usr/include/$VERSION /usr/local/include/$VERSION
    fi
    
    # Install pip
    wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py
    /usr/bin/$VERSION get-pip.py
    /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip
    /usr/bin/$VERSION -m pip install -U setuptools
    
    # Disable the cache dir to save image space, and install packages
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 23:34:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. cmd/metrics-v3-cluster-usage.go

    //
    // This is a `MetricsLoaderFn`.
    func loadClusterUsageObjectMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	// data usage has not captured any data yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return nil
    	}
    
    	var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:11:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        }
    
        private boolean isStrict(Map<String, ?> options) {
            Object value = (options != null) ? options.get(IS_STRICT) : null;
            return value == null || Boolean.parseBoolean(value.toString());
        }
    
        private InputSource getSource(Map<String, ?> options) {
            Object value = (options != null) ? options.get(INPUT_SOURCE) : null;
            return (InputSource) value;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/fileauth/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiConfigResponse().setting(fileAuthService.getFileAuthentication(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top