Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 782 for Hong (0.23 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSort(new long[] {2}, 0, 1, new long[] {2});
        testSort(new long[] {2, 1, 0}, 0, 2, new long[] {1, 2, 0});
        testSort(new long[] {2, GREATEST, 1, LEAST}, 1, 4, new long[] {2, LEAST, 1, GREATEST});
      }
    
      public void testSortDescending() {
        testSortDescending(new long[] {}, new long[] {});
        testSortDescending(new long[] {1}, new long[] {1});
        testSortDescending(new long[] {1, 2}, new long[] {2, 1});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //             TreeSubSetTest.suite());
      //     }
    
      public static long SHORT_DELAY_MS;
      public static long SMALL_DELAY_MS;
      public static long MEDIUM_DELAY_MS;
      public static long LONG_DELAY_MS;
    
      /**
       * Returns the shortest timed delay. This could be reimplemented to use for example a Property.
       */
      protected long getShortDelay() {
        return 50;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      val streamHandler: StreamHandler?
    
      val inTunnel: Boolean
      val informationalResponses: List<MockResponse>
    
      val throttleBytesPerPeriod: Long
      val throttlePeriodNanos: Long
    
      val socketPolicy: SocketPolicy
    
      val bodyDelayNanos: Long
      val headersDelayNanos: Long
    
      val pushPromises: List<PushPromise>
    
      val settings: Settings
    
      @JvmOverloads
      constructor(
        code: Int = 200,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                _dst.enc_ndr_long(elapsedt);
                _dst.enc_ndr_long(msecs);
                _dst.enc_ndr_long(hours);
                _dst.enc_ndr_long(mins);
                _dst.enc_ndr_long(secs);
                _dst.enc_ndr_long(hunds);
                _dst.enc_ndr_long(timezone);
                _dst.enc_ndr_long(tinterval);
                _dst.enc_ndr_long(day);
                _dst.enc_ndr_long(month);
                _dst.enc_ndr_long(year);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 18.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = createTestFile() ) {
                try {
                    long orig = f.createTime();
                    long time = System.currentTimeMillis() - 60 * 60 * 12;
                    f.setCreateTime(time);
                    long newTime = f.createTime();
                    if ( newTime == orig ) {
                        Assume.assumeTrue("Create time was not changed", false);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                int _pathp = _src.dec_ndr_long();
                int _commentp = _src.dec_ndr_long();
                state = (int)_src.dec_ndr_long();
                num_stores = (int)_src.dec_ndr_long();
                int _storesp = _src.dec_ndr_long();
    
                if (_pathp != 0) {
                    _src = _src.deferred;
                    path = _src.dec_ndr_string();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 15K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            new Callable<Long>() {
              @Override
              public Long call() {
                return runAddRemoveSingleThread(reps);
              }
            });
      }
    
      private long doMultithreadedLoop(Callable<Long> task)
          throws InterruptedException, ExecutionException {
    
        List<Future<Long>> futures = Lists.newArrayListWithCapacity(threads);
        for (int i = 0; i < threads; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

      }
    
      public void testAddAndGet() {
        AtomicLongMap<String> map = AtomicLongMap.create();
        String key = "key";
        long addend = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.addAndGet(key, addend);
          long after = map.get(key);
          assertEquals(before + addend, after);
          assertEquals(after, result);
          addend = after;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. 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)
Back to top