Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1641 - 1650 of 4,465 for republic (0.49 seconds)

  1. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(1, counter.getCount());
      }
    
      public void testReadArray() throws IOException {
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
      }
    
      public void testReadArrayRange() throws IOException {
        assertEquals(3, counter.read(new byte[10], 1, 3));
        assertEquals(3, counter.getCount());
      }
    
      public void testSkip() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final Service stopAsync() {
                return delegate.stopAsync();
              }
    
              @Override
              public final void awaitRunning() {
                delegate.awaitRunning();
              }
    
              @Override
              public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
                delegate.awaitRunning(timeout, unit);
              }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Absent.java

      public Set<T> asSet() {
        return Collections.emptySet();
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        checkNotNull(function);
        return Optional.absent();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return this == obj;
      }
    
      @Override
      public int hashCode() {
        return 0x79a31aac;
      }
    
      @Override
      public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

    /**
     * @author koichik
     *
     */
    public class DisposableUtilTest {
    
        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegate.containsAll(targets);
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

            JApiCompatibilityChangeType.ANNOTATION_REMOVED,
            JApiCompatibilityChangeType.ANNOTATION_ADDED
        );
    
        public BinaryBreakingChangesRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public Violation maybeViolation(final JApiCompatibility member) {
            if (!member.isBinaryCompatible()) {
    
                removeAnnotationChanges(member);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

    /**
     * Tests for ChecksumHashFunction.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class ChecksumHashFunctionTest extends TestCase {
    
      public void testCrc32_equalsChecksumValue() throws Exception {
        assertChecksum(CRC_32, "");
        assertChecksum(CRC_32, "Z");
        assertChecksum(CRC_32, "foobar");
      }
    
      public void testAdler32_equalsChecksumValue() throws Exception {
        assertChecksum(ADLER_32, "");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

     *
     * @author higa
     */
    public abstract class IntegerConversionUtil {
    
        /**
         * Do not instantiate.
         */
        protected IntegerConversionUtil() {
        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

      @BeforeExperiment
      public void setUp() {
        Random rng = new Random();
        for (int i = 0; i < encodingInputs.length; i++) {
          encodingInputs[i] = new byte[n];
          rng.nextBytes(encodingInputs[i]);
          decodingInputs[i] = encoding.encoding.encode(encodingInputs[i]);
        }
      }
    
      @Benchmark
      public int encode(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return singleKey.equals(key) ? singleValue : null;
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action).accept(singleKey, singleValue);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top