Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,725 for Fong (0.15 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

      /* Helper function to make a Long value from an Integer. */
      private static final Function<Integer, Long> TO_LONG =
          new Function<Integer, Long>() {
            @Override
            public Long apply(Integer n) {
              return Long.valueOf(n);
            }
          };
    
      /* Helper function to make a BigInteger value from a Long. */
      private static final Function<Long, BigInteger> TO_BIGINTEGER =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

        assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue());
      }
    
      public void testLongsOffsetExceptions() {
        assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1));
        assertThrows(
            IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(Long.MAX_VALUE, 1));
      }
    
      public void testBigIntegersOffset() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. internal/lock/lock_windows_test.go

    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocList.java

    public class DocList extends ArrayList<Map<String, Object>> {
    
        private static final long serialVersionUID = 1L;
    
        private long contentSize = 0;
    
        private long processingTime = 0;
    
        @Override
        public void clear() {
            super.clear();
            contentSize = 0;
            processingTime = 0;
        }
    
        public long getContentSize() {
            return contentSize;
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private long countBySkipping(Reader reader) throws IOException {
        long count = 0;
        long read;
        while ((read = reader.skip(Long.MAX_VALUE)) != 0) {
          count += read;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Long.MIN_VALUE, Long.MIN_VALUE, Long.MIN_VALUE);
        assertMean(Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE);
    
        // Exhaustive checks
        for (long x : ALL_LONG_CANDIDATES) {
          for (long y : ALL_LONG_CANDIDATES) {
            assertMean(x, y);
          }
        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

          Long[] suffix = {(long) 86, (long) 99};
          Long[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Long[] concat(Long[] left, Long[] right) {
        Long[] result = new Long[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
      // NOTE: All durations in these tests are expressed in milliseconds
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      private inner class FixedLengthSource(private var bytesRemaining: Long) :
        AbstractSource() {
        init {
          if (bytesRemaining == 0L) {
            responseBodyComplete()
          }
        }
    
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          require(byteCount >= 0L) { "byteCount < 0: $byteCount" }
          check(!closed) { "closed" }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

        protected String createdBy;
    
        /** createdTime */
        protected Long createdTime;
    
        /** maxSize */
        protected Integer maxSize;
    
        /** query */
        protected String query;
    
        /** term */
        protected String term;
    
        /** updatedBy */
        protected String updatedBy;
    
        /** updatedTime */
        protected Long updatedTime;
    
        /** virtualHost */
        protected String virtualHost;
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top