Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 2,543 for set1 (0.03 seconds)

  1. cmd/net_test.go

    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.sortedIPList, gotIPList)
    		}
    	}
    }
    
    func TestMustGetLocalIP4(t *testing.T) {
    	testCases := []struct {
    		expectedIPList set.StringSet
    	}{
    		{set.CreateStringSet("127.0.0.1")},
    	}
    
    	for _, testCase := range testCases {
    		ipList := mustGetLocalIP4()
    		if testCase.expectedIPList != nil && testCase.expectedIPList.Intersection(ipList).IsEmpty() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. internal/handlers/forwarder.go

    		if req.Header.Get(xRealIP) == "" {
    			req.Header.Set(xRealIP, clientIP)
    		}
    	}
    
    	xfProto := req.Header.Get(xForwardedProto)
    	if xfProto == "" {
    		if req.TLS != nil {
    			req.Header.Set(xForwardedProto, "https")
    		} else {
    			req.Header.Set(xForwardedProto, "http")
    		}
    	}
    
    	if xfPort := req.Header.Get(xForwardedPort); xfPort == "" {
    		req.Header.Set(xForwardedPort, forwardedPort(req))
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. internal/logger/targets.go

    	tl.list = append(tl.list, t)
    }
    
    func (tl *targetsList) set(tgts []Target) {
    	tl.mu.Lock()
    	defer tl.mu.Unlock()
    
    	tl.list = tgts
    }
    
    var (
    
    	// systemTargets is the set of enabled loggers.
    	systemTargets = newTargetsList()
    
    	// auditTargets is the list of enabled audit loggers
    	auditTargets = newTargetsList()
    
    	// This is always set represent /dev/console target
    	consoleTgt Target
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * {@link Set} that is case-insensitive.
     *
     * @author higa
     */
    public class CaseInsensitiveSet extends AbstractSet<String> implements Set<String>, Serializable {
    
        static final long serialVersionUID = 0L;
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          allEntries.addAll(extremeValues);
          allEntries.addAll(normalValues);
          SortedSet<E> set = delegate.create(allEntries.toArray());
    
          return createSubSet(set, firstExclusive, lastExclusive);
        }
    
        /** Calls the smallest subSet overload that filters out the extreme values. */
        SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            internal fun Int.fooExt() {}
    
            internal val String.barExt: String
                get() = "bar"
    
            internal var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
        """
    
        @Language("kotlin")
        private
        val publicMembers = """
    
            fun foo() {}
    
            val bar = "bar"
    
            var bazar = "bazar"
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          }
    
          // don't try to remove the set if it's empty; that can't be done safely without a lock
          // anyway, if the set is empty it'll just be wrapping an array of length 0
        }
      }
    
      @VisibleForTesting
      Set<Subscriber> getSubscribersForTesting(Class<?> eventType) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

     */
    package org.codelibs.fess.suggest.converter;
    
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    /**
     * A chain of {@link ReadingConverter} implementations that applies each converter in sequence to generate possible reading variations of a given text.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 3.3K bytes
    - Click Count (1)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

            JApiCompatibilityChangeType.INTERFACE_ADDED               // the added methods will be reported
        );
    
        private static final Set<JApiCompatibilityChangeType> ANNOTATION_RELATED_CHANGES = Set.of(
            JApiCompatibilityChangeType.ANNOTATION_MODIFIED,
            JApiCompatibilityChangeType.ANNOTATION_REMOVED,
            JApiCompatibilityChangeType.ANNOTATION_ADDED
        );
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top