Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2771 - 2780 of 3,933 for avoid (0.21 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

              return response.request().newBuilder()
                  .header("Authorization", credential)
                  .build();
            })
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
            .addSubjectAlternativeName("localhost")
            .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

      private static final Logger logger = Logger.getLogger(SloppyTearDown.class.getName());
    
      @Override
      public final void tearDown() {
        try {
          sloppyTearDown();
        } catch (Throwable t) {
          logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t);
        }
      }
    
      public abstract void sloppyTearDown() throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java

      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Table.class,
                new Function<Table, Table<?, ?, ?>>() {
                  @Override
                  public Table<?, ?, ?> apply(Table delegate) {
                    return wrap((Table<?, ?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/CloseableIteratorTest.java

        @Test
        @DisplayName("Should define close method")
        void testCloseMethod() throws CIFSException {
            // When
            mockIterator.close();
    
            // Then
            verify(mockIterator).close();
        }
    
        @Test
        @DisplayName("Should extend Iterator and AutoCloseable")
        void testInterfaceInheritance() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 964 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

         */
        public void store(final BoostDocumentRule boostDocumentRule) {
    
            boostDocumentRuleBhv.insertOrUpdate(boostDocumentRule, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        /**
         * Deletes a boost document rule.
         * @param boostDocumentRule The boost document rule to delete.
         */
        public void delete(final BoostDocumentRule boostDocumentRule) {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

            return pathMappingBhv.selectByPK(id);
        }
    
        /**
         * Stores a path mapping.
         *
         * @param pathMapping the path mapping to store
         */
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/HMACT64.java

            return md5.getDigestLength();
        }
    
        @Override
        protected void engineReset() {
            md5.reset();
            md5.update(ipad);
        }
    
        @Override
        protected void engineUpdate(final byte b) {
            md5.update(b);
        }
    
        @Override
        protected void engineUpdate(final byte[] input, final int offset, final int len) {
            md5.update(input, offset, len);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/HMACT64.java

            return this.md5.getDigestLength();
        }
    
        @Override
        protected void engineReset() {
            this.md5.reset();
            this.md5.update(this.ipad);
        }
    
        @Override
        protected void engineUpdate(final byte b) {
            this.md5.update(b);
        }
    
        @Override
        protected void engineUpdate(final byte[] input, final int offset, final int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top