Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 233 for 1000KB (0.09 sec)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
        assertThat(elapsedMillis).isBetween(500L, 1000L)
      }
    
      /**
       * Throttle the response body by sleeping 500ms after every 3 bytes. With a 6-byte response, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
        val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos)
        assertThat(elapsedMillis).isBetween(500L, 1000L)
      }
    
      /**
       * Throttle the response body by sleeping 500ms after every 3 bytes. With a 6-byte response, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. cmd/namespace-lock_test.go

    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    func TestNSLockRace(t *testing.T) {
    	t.Skip("long test skip it")
    
    	ctx := context.Background()
    
    	for i := 0; i < 10000; i++ {
    		nsLk := newNSLock(false)
    
    		// lk1; ref=1
    		if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) {
    			t.Fatal("failed to acquire lock")
    		}
    
    		// lk2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            }
    
            minioClient.setTimeout(getInitParameter("connectTimeout", (long) 10000, Long.class),
                    getInitParameter("writeTimeout", (long) 10000, Long.class), getInitParameter("readTimeout", (long) 10000, Long.class));
        }
    
        protected boolean bucketExists(final String name) {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSinkTest.java

    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

        @Test
        void testFormatDuration() {
            assertEquals("0.001 s", CLIReportingUtils.formatDuration(1));
            assertEquals("0.999 s", CLIReportingUtils.formatDuration(1000 - 1));
            assertEquals("1.000 s", CLIReportingUtils.formatDuration(1000));
            assertEquals("59.999 s", CLIReportingUtils.formatDuration(60 * 1000 - 1));
            assertEquals("01:00 min", CLIReportingUtils.formatDuration(60 * 1000));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/env/crawler/resources/app.xml

    			<arg>
    				<component class="org.codelibs.fess.indexer.BoostDocumentRule">
    					<property name="matchExpression">"url.matches(\".*fess.*\")"</property>
    					<property name="boostExpression">"1000.0"</property>
    				</component>
    			</arg>
    		</postConstruct>
    		 -->
    	</component>
    	<component name="crawlerStatsHelper"
    		class="org.codelibs.fess.helper.CrawlerStatsHelper">
    	</component>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Apr 09 02:14:47 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                @Override
                protected ResponseData getResponseData(final String uri, final boolean includeContent) {
                    try {
                        Thread.sleep(10000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-oidc.sh

    export MINIO_IDENTITY_OPENID_CLAIM_NAME="groups"
    export MINIO_IDENTITY_OPENID_SCOPES="openid,groups"
    
    export MINIO_IDENTITY_OPENID_REDIRECT_URI="http://127.0.0.1:10000/oauth_callback"
    minio server --address ":9001" --console-address ":10000" /tmp/minio1/{1...4} >/tmp/minio1_1.log 2>&1 &
    site1_pid=$!
    export MINIO_IDENTITY_OPENID_REDIRECT_URI="http://127.0.0.1:11000/oauth_callback"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top