Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,074 for _new (0.13 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        assertTrue(stopwatch.isRunning());
      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_new() {
        try {
          stopwatch.stop();
          fail();
        } catch (IllegalStateException expected) {
        }
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_alreadyStopped() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertTrue(stopwatch.isRunning());
      }
    
      public void testStop() {
        stopwatch.start();
        assertSame(stopwatch, stopwatch.stop());
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_new() {
        try {
          stopwatch.stop();
          fail();
        } catch (IllegalStateException expected) {
        }
        assertFalse(stopwatch.isRunning());
      }
    
      public void testStop_alreadyStopped() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
        USING_CHARSTREAMS_COPY {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            StringBuilder sb = new StringBuilder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
        USING_CHARSTREAMS_COPY {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            StringBuilder sb = new StringBuilder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/RoleTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            return requestBody;
        }
    
        private static final String NEW_SUFFIX = "_new";
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> requestBody = new HashMap<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1});
    
        testRotate(new byte[] {1, 2, 3}, -5, new byte[] {3, 1, 2});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // ? extends T
        assertAssignable(new TypeToken<List<N11>>() {}, new TypeToken<List<? extends N1>>() {});
        assertNotAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends N11>>() {});
        assertNotAssignable(new TypeToken<List<Number>>() {}, new TypeToken<List<? extends N11>>() {});
    
        // ? extends Number
        assertAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends Number>>() {});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testFailStart() throws Exception {
        Service a = new NoOpService();
        Service b = new FailStartService();
        Service c = new NoOpService();
        Service d = new FailStartService();
        Service e = new NoOpService();
        ServiceManager manager = new ServiceManager(asList(a, b, c, d, e));
        RecordingListener listener = new RecordingListener();
        manager.addListener(listener, directExecutor());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        assertThat(expected).hasCauseThat().isEqualTo(cause);
    
        Object newValue = new Object();
        valueRef.set(newValue);
        assertSame(newValue, cache.getUnchecked(new Object()));
      }
    
      public void testGetUnchecked_unchecked() {
        final RuntimeException cause = new RuntimeException();
        final AtomicReference<Object> valueRef = new AtomicReference<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        testSortDescending(new byte[] {}, 0, 0, new byte[] {});
        testSortDescending(new byte[] {1}, 0, 1, new byte[] {1});
        testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1});
        testSortDescending(
            new byte[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top