Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 2,057 for Kong (0.25 seconds)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. internal/crypto/sse-c.go

    		return key, ErrMissingCustomerKeyMD5
    	}
    
    	clientKey, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCustomerKey))
    	if err != nil || len(clientKey) != 32 { // The client key must be 256 bits long
    		return key, ErrInvalidCustomerKey
    	}
    	keyMD5, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5))
    	if md5Sum := md5.Sum(clientKey); err != nil || !bytes.Equal(md5Sum[:], keyMD5) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/JAASAuthenticator.java

        private static final Logger log = LoggerFactory.getLogger(JAASAuthenticator.class);
    
        /**
         *
         */
        private static final long serialVersionUID = -1648420815038372844L;
    
        /** The JAAS service name for authentication */
        private String serviceName;
        /** The cached JAAS subject */
        private Subject cachedSubject;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  4. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                    throw exception;
                });
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
                for (int i = 0; i < 10000; i++) {
                    longMessage.append("x");
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        //                                                                        ============
    
        private static OptionalEntity<RelatedQuery> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RelatedQuery()).map(entity -> {
                    entity.setCreatedBy(username);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

            return STEMMER_OVERRIDE;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<StemmerOverrideItem> get(final long id) {
            if (stemmerOverrideItemList == null) {
                reload(null);
            }
    
            for (final StemmerOverrideItem stemmerOverrideItem : stemmerOverrideItemList) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/SecureKeyManagerTest.java

            String sessionId = "age-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            long initialAge = keyManager.getKeyAge(sessionId);
            assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small");
    
            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * @author Justin T. Sampson
     */
    @NullUnmarked
    public final class TestThread<L> extends Thread implements TearDown {
    
      private static final long DUE_DILIGENCE_MILLIS = 100;
      private static final long TIMEOUT_MILLIS = 5000;
    
      private final L lockLikeObject;
    
      private final SynchronousQueue<Request> requestQueue = new SynchronousQueue<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         * @param currentTime the current timestamp
         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebAuthentication()).map(entity -> {
                    entity.setCreatedBy(username);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNull(exception.getCause());
        }
    
        /**
         * Test constructor with very long message
         */
        public void test_constructor_withVeryLongMessage() {
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 10000; i++) {
                longMessage.append("Very long error message ");
            }
            String message = longMessage.toString();
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Sep 03 14:42:53 GMT 2025
    - 20K bytes
    - Click Count (0)
Back to Top