Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,081 for sets (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/DialectVersionTest.java

            assertTrue(DialectVersion.SMB302.ordinal() < DialectVersion.SMB311.ordinal());
        }
    
        @Test
        @DisplayName("Should handle dialect version sets")
        void testDialectVersionSets() {
            // Test creating sets of dialect versions
            java.util.Set<DialectVersion> smb2Versions = java.util.EnumSet.of(DialectVersion.SMB202, DialectVersion.SMB210,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    }
                });
                readerThreads[i].start();
            }
    
            // Writer thread sets alive to false early
            Thread writerThread = new Thread(() -> {
                try {
                    startLatch.await(); // Wait for start signal
                    // Set alive to false very early - no delay
                    dataStore.alive = false;
                } catch (InterruptedException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java

    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. internal/logger/reqinfo.go

    		tagsMap[t.Key] = t.Val
    	}
    }
    
    // SetReqInfo sets ReqInfo in the context.
    func SetReqInfo(ctx context.Context, req *ReqInfo) context.Context {
    	if ctx == nil {
    		LogIf(context.Background(), "", fmt.Errorf("context is nil"))
    		return nil
    	}
    	return context.WithValue(ctx, contextLogKey, req)
    }
    
    // GetReqInfo returns ReqInfo if set.
    func GetReqInfo(ctx context.Context) *ReqInfo {
    	if ctx != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/transport/Request.java

     */
    public interface Request extends Message {
    
        /**
         * Gets the number of credits this request requires.
         *
         * @return number of credits this request requires
         */
        int getCreditCost();
    
        /**
         * Sets the number of request credits.
         *
         * @param credits the number of credits to set
         */
        void setRequestCredits(int credits);
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * should give up.
     *
     * When reactive authentication is requested by an origin web server, the response code is 401
     * and the implementation should respond with a new request that sets the "Authorization" header.
     *
     * ```java
     * if (response.request().header("Authorization") != null) {
     *   return null; // Give up, we've already failed to authenticate.
     * }
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/stream-data.md

    You can create a custom sub-class of `StreamingResponse` that sets the `Content-Type` header to the type of data you're streaming.
    
    For example, you can create a `PNGStreamingResponse` that sets the `Content-Type` header to `image/png` using the `media_type` attribute:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

     */
    class SpecificHostSocketFactory(
      val defaultAddress: InetSocketAddress?,
    ) : DelegatingSocketFactory(getDefault()) {
      private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>()
    
      /** Sets the [real] address for [requested].  */
      operator fun set(
        requested: InetAddress,
        real: InetSocketAddress,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            String value = q;
            for (final String s : values) {
                value = value.replace(s, "\\" + s);
            }
            return value;
        }
    
        /**
         * Sets the search request parameters for this builder.
         * This method follows the builder pattern for method chaining.
         *
         * @param params the search request parameters to use
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top