Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2251 - 2260 of 5,824 for Republic (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/CountTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
        assertEquals(21, holder.get());
      }
    
      public void testAddAndGet() {
        Count holder = new Count(20);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ForwardingLock.java

      abstract Lock delegate();
    
      @Override
      public void lock() {
        delegate().lock();
      }
    
      @Override
      public void lockInterruptibly() throws InterruptedException {
        delegate().lockInterruptibly();
      }
    
      @Override
      public boolean tryLock() {
        return delegate().tryLock();
      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpServletRequest.java

            super(req);
            this.principal = principal;
        }
    
        @Override
        public String getRemoteUser() {
            return principal.getName();
        }
    
        @Override
        public Principal getUserPrincipal() {
            return principal;
        }
    
        @Override
        public String getAuthType() {
            return "NTLM";
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/https/Handler.java

     */
    public class Handler extends jcifs.smb1.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
        public static final int DEFAULT_HTTPS_PORT = 443;
    
        /**
         * Default constructor for SMB1 HTTPS URL handler.
         */
        public Handler() {
        }
    
        /**
         * Returns the default HTTPS port.
         *
         * @return An <code>int</code> containing the default HTTPS port.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                  @Override
                  public SampleElements<E> samples() {
                    return delegate.samples();
                  }
    
                  @Override
                  public E[] createArray(int length) {
                    return delegate.createArray(length);
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/compression/CompressionService.java

     */
    public interface CompressionService {
    
        /**
         * Compression algorithm constants matching SMB3 specification.
         */
        public static final int COMPRESSION_NONE = 0x0;
        public static final int COMPRESSION_LZ77 = 0x1;
        public static final int COMPRESSION_LZ77_HUFFMAN = 0x2;
        public static final int COMPRESSION_LZNT1 = 0x3;
        public static final int COMPRESSION_PATTERN_V1 = 0x4;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            public long getTotalValidations() {
                return totalValidations;
            }
    
            public long getFailedValidations() {
                return failedValidations;
            }
    
            public long getBufferOverflowsPrevented() {
                return bufferOverflowsPrevented;
            }
    
            public long getIntegerOverflowsPrevented() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

        }
    
        @Override
        public List<Runnable> shutdownNow() {
          shutdown();
          return ImmutableList.of();
        }
    
        @Override
        public boolean isShutdown() {
          return shutdown;
        }
    
        @Override
        public boolean isTerminated() {
          return shutdown;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return true;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionAddAllTester<E extends @Nullable Object>
        extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_supportedNothing() {
        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top