Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 681 for 1004 (0.02 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          service.firstBarrier.await();
          assertEquals(i, service.numIterations.get());
          service.secondBarrier.await();
        }
        Thread.sleep(1000);
        assertThrows(
            IllegalStateException.class, () -> service.stopAsync().awaitTerminated(100, SECONDS));
        assertEquals(State.FAILED, service.state());
      }
    
      private static class TestFailingCustomScheduledService extends AbstractScheduledService {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. internal/s3select/jstream/README.md

    -h | display help dialog
    
    ## Benchmarks
    
    Obligatory benchmarks performed on files with arrays of objects, where the decoded objects are to be extracted.
    
    Two file sizes are used -- regular (1.6mb, 1000 objects) and large (128mb, 100000 objects)
    
    input size | lib | MB/s | Allocated
    --- | --- | --- | ---
    regular | standard | 97 | 3.6MB
    regular | jstream | 175 | 2.1MB
    large | standard | 92 | 305MB
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. src/bytes/buffer_test.go

    func BenchmarkBufferNotEmptyWriteRead(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf[0:1])
    		for i := 0; i < 5<<10; i++ {
    			b.Write(buf)
    			b.Read(buf)
    		}
    	}
    }
    
    // Check that we don't compact too often. From Issue 5154.
    func BenchmarkBufferFullSmallReads(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

        assertEquals(expectedPins.toSet(), certificatePinner.pins)
      }
    
      companion object {
        internal var certA1: HeldCertificate =
          HeldCertificate
            .Builder()
            .serialNumber(100L)
            .build()
        internal var certA1Sha256Pin = CertificatePinner.pin(certA1.certificate)
    
        private var certB1 =
          HeldCertificate
            .Builder()
            .serialNumber(200L)
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        protected int priority = 1;
    
        /**
         * The request timeout.
         */
        protected String requestTimeout = "1m";
    
        /**
         * The request cache size.
         */
        protected int requestCacheSize = 1000;
    
        /**
         * The script language.
         */
        protected String scriptLang = "painless";
    
        /**
         * The script code.
         */
        protected String scriptCode = null;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        @Test
        public void test_constructor_withLongMessage() {
            // Test constructor with a very long message
            final StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Long message part ").append(i).append(" ");
            }
            final String message = longMessage.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

        }
    
        @Test
        public void test_constructor_withLongMessage() {
            // Test with long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("a");
            }
            String message = sb.toString();
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

            int maxBufferSize;
            try {
                maxBufferSize = ComponentUtil.getFessConfig().getLogNotificationBufferSizeAsInteger();
            } catch (final Exception e) {
                maxBufferSize = 1000;
            }
            queue.offer(event);
            if (size.incrementAndGet() > maxBufferSize) {
                if (queue.poll() != null) {
                    size.decrementAndGet();
                }
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

            if (!initialized) {
                try {
                    // In a real implementation, this would initialize DiSNI:
                    // endpointGroup = new RdmaActiveEndpointGroup<DisniRdmaEndpoint>(
                    //     1000, false, 128, 4, 128);
                    // endpointGroup.init(new DisniRdmaEndpointFactory());
    
                    // For now, we'll just create placeholder objects
                    endpointGroup = new Object();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. cmd/object-api-deleteobject_test.go

    			t.Log(oi)
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err)
    			continue
    		}
    
    		result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000)
    		if err != nil {
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			continue
    		}
    
    		if len(result.Objects) != len(testCase.objectsAfterDelete) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top