Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 1,540 for After (0.16 seconds)

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

          ListenableFuture<?> unused = serializer.submitAsync(() -> settableFuture, directExecutor());
          for (int i = 0; i < 50_000; i++) {
            if (i % DIRECT_EXECUTIONS_PER_THREAD == 0) {
              // after some number of iterations, switch threads
              unused =
                  serializer.submit(
                      () -> {
                        holder.count++;
                        return null;
                      },
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing implementations of {@link Graph} interface. Graph instances
     * created for testing should have Integer node and String edge objects.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

           * both. The {@code finalState} is the state to change to from {@link #RUNNING}. If the state
           * is not in the RUNNING state we return {@code false} after waiting for the state to be set
           * to a valid final state ({@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}).
           *
           * @param v the value to set as the result of the computation.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @param resp
         *            The servlet response
         * @param skipAuthentication
         *            If true the negotiation is only done if it is
         *            initiated by the client (MSIE post requests after successful NTLM SSP
         *            authentication). If false and the user has not been authenticated yet
         *            the client will be forced to send an authentication (server sends
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

        @Inject
        public TestingConventionsTasks(ProjectLayout projectLayout) {
            this.projectLayout = projectLayout;
            setDescription("Tests various testing conventions");
            // Run only after everything is compiled
            GradleUtils.getJavaSourceSets(getProject()).all(sourceSet -> dependsOn(sourceSet.getOutput().getClassesDirs()));
            naming = getProject().container(TestingConventionRule.class);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/custom-response.md

    /// note | Technical Details
    
    An `async` task can only be cancelled when it reaches an `await`. If there is no `await`, the generator (function with `yield`) can not be cancelled properly and may keep running even after cancellation is requested.
    
    Since this small example does not need any `await` statements, we add an `await anyio.sleep(0)` to give the event loop a chance to handle cancellation.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. cmd/metacache-walk.go

    				return send(meta)
    			}
    			// Skip all other files.
    		}
    
    		// Process in sort order.
    		sort.Strings(entries)
    		dirStack := make([]string, 0, 5)
    		prefix = "" // Remove prefix after first level as we have already filtered the list.
    		if len(forward) > 0 {
    			// Conservative forwarding. Entries may be either objects or prefixes.
    			for i, entry := range entries {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. internal/config/storageclass/storage-class.go

    		if err != nil {
    			return Config{}, err
    		}
    	} else {
    		cfg.RRS.Parity = defaultRRSParity
    		if setDriveCount == 1 {
    			cfg.RRS.Parity = 0
    		}
    	}
    
    	// Validation is done after parsing both the storage classes. This is needed because we need one
    	// storage class value to deduce the correct value of the other storage class.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. cmd/signature-v2.go

    	if accessKey := r.Form.Get(xhttp.AmzAccessKeyID); accessKey != "" {
    		return checkKeyValid(r, accessKey)
    	}
    
    	// below is V2 Signed Auth header format, splitting on `space` (after the `AWS` string).
    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    	authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ")
    	if len(authFields) != 2 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

        }
    
        @Test
        public void test_GetContentAsStream_AfterGetContentAsString() throws IOException {
            // ## Arrange ##
            String content = "stream after string";
            CurlResponse response = new CurlResponse();
            response.setEncoding("UTF-8");
            response.setContentCache(new ContentCache(content.getBytes(java.nio.charset.StandardCharsets.UTF_8)));
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
Back to Top