Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for longval2 (0.24 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/runtime/cgo/gcc_aix_ppc64.c

    /*
     * On AIX, call to _cgo_topofstack and Go main are forced to be a longcall.
     * Without it, ld might add trampolines in the middle of .text section
     * to reach these functions which are normally declared in runtime package.
     */
    extern int __attribute__((longcall)) __cgo_topofstack(void);
    extern int __attribute__((longcall)) runtime_rt0_go(int argc, char **argv);
    extern void __attribute__((longcall)) _rt0_ppc64_aix_lib(void);
    
    int _cgo_topofstack(void) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 1.3K 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. src/runtime/cgo/callbacks_aix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgo
    
    // These functions must be exported in order to perform
    // longcall on cgo programs (cf gcc_aix_ppc64.c).
    //
    //go:cgo_export_static __cgo_topofstack
    //go:cgo_export_static runtime.rt0_go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 402 bytes
    - Viewed (0)
  6. android/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: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

          }
          do {
            for (int j = 0; j < 2; j++) {
              intsToAdd[i][j] = randomBigInteger(Integer.SIZE - 2).intValue();
            }
          } while (!Impl.GUAVA.noAddOverflow(intsToAdd[i][0], intsToAdd[i][1]));
          do {
            for (int j = 0; j < 2; j++) {
              longsToAdd[i][j] = randomBigInteger(Long.SIZE - 2).longValue();
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    final Set<String> permissionSet = new HashSet<>();
                    final Long expiredTime = accessToken.getExpiredTime();
                    if (expiredTime != null && expiredTime.longValue() > 0
                            && expiredTime.longValue() < ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) {
                        throw new InvalidAccessTokenException("invalid_token",
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top