Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for longval (0.96 sec)

  1. src/runtime/map_test.go

    		"foo":                    "fooval",
    		"bar":                    "barval", // same key length as "foo"
    		"xxxx":                   "x4val",
    		strings.Repeat("x", 128): "longval1",
    		strings.Repeat("y", 128): "longval2",
    	})
    }
    
    // Tests a map with a single bucket, with all keys having different lengths.
    func TestSingleBucketMapStringKeys_NoDupLen(t *testing.T) {
    	testMapLookups(t, map[string]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
            long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue();
            UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned);
            assertThat(unsignedSum.longValue()).isEqualTo(expected);
          }
        }
      }
    
      public void testMinus() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/net/conf.go

    	confVal.netGo = netGoBuildTag || dnsMode == "go"
    	confVal.netCgo = netCgoBuildTag || dnsMode == "cgo"
    	confVal.dnsDebugLevel = debugLevel
    
    	if confVal.dnsDebugLevel > 0 {
    		defer func() {
    			if confVal.dnsDebugLevel > 1 {
    				println("go package net: confVal.netCgo =", confVal.netCgo, " netGo =", confVal.netGo)
    			}
    			switch {
    			case confVal.netGo:
    				if netGoBuildTag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/LongMathTest.java

          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            long q = BigInteger.probablePrime(bits, rand).longValue();
            assertFalse(LongMath.isPrime(p * q));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeThrowsOnNegative() {
        try {
          LongMath.isPrime(-1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        checkNotNull(updaterFunction);
        Long result =
            map.compute(
                key,
                (k, value) -> updaterFunction.applyAsLong((value == null) ? 0L : value.longValue()));
        return requireNonNull(result);
      }
    
      /**
       * Updates the value currently associated with {@code key} with the specified function, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            long q = BigInteger.probablePrime(bits, rand).longValue();
            assertFalse(LongMath.isPrime(p * q));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeThrowsOnNegative() {
        try {
          LongMath.isPrime(-1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            if (!arList.isEmpty()) {
                final long commitMarginTime = fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue();
                for (final AccessResult<?> ar : arList.toArray(new AccessResult[arList.size()])) {
                    if (ar.getCreateTime().longValue() > execTime - commitMarginTime) {
                        arList.remove(ar);
                    }
                }
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          at.set(x);
          assertEquals((int) x, at.intValue());
        }
      }
    
      /** longValue returns current value. */
      public void testLongValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0L, at.longValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((long) x, at.longValue());
        }
      }
    
      /** floatValue returns current value. */
      public void testFloatValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            searchLogList.stream().forEach(searchLog -> {
                if (searchLog.getHitCount() == null
                        || searchLog.getHitCount().longValue() < fessConfig.getSuggestMinHitCountAsInteger().longValue()) {
                    return;
                }
    
                final String sessionId;
                if (searchLog.getUserSessionId() != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      }
    
      @Test
      fun multipleTags() {
        val stringTag = "dilophosaurus"
        val longTag = 20170815L as Long?
        val objectTag = Any()
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(Any::class, objectTag)
            .tag(String::class, stringTag)
            .tag(Long::class, longTag)
            .build()
        assertThat(request.tag<Any>()).isSameAs(objectTag)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top