Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 542 for Franke (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        final T value;
        final int rank;
    
        Composite(T value, int rank) {
          this.value = value;
          this.rank = rank;
        }
    
        // natural order is by rank only; the test will compound() this with the
        // order of 't'.
        @Override
        public int compareTo(Composite<T> that) {
          return Ints.compare(rank, that.rank);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

           */
          for (int i = 0; i < elements.size() - 1; i++) {
            assertEquals(elements.get(i) + 1, (int) elements.get(i + 1));
          }
          Range<Integer> range =
              elements.isEmpty() ? Range.closedOpen(0, 0) : Range.encloseAll(elements);
          return ContiguousSet.create(range, DiscreteDomain.integers());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    		for ops, count := range signatureMap {
    			if max < count && commonCount < ops {
    				max = count
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        // A surrogate pair defining a code point within the safe range.
        String safeInput = "\uD800\uDC00"; // 0x10000
        assertEquals(safeInput, surrogateEscaper.escape(safeInput));
    
        // A surrogate pair defining a code point outside the safe range (but both
        // of the surrogate characters lie within the safe range). It is important
        // not to accidentally treat this as a sequence of safe characters.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. clause/where.go

    func (not NotConditions) Build(builder Builder) {
    	anyNegationBuilder := false
    	for _, c := range not.Exprs {
    		if _, ok := c.(NegationExpressionBuilder); ok {
    			anyNegationBuilder = true
    			break
    		}
    	}
    
    	if anyNegationBuilder {
    		if len(not.Exprs) > 1 {
    			builder.WriteByte('(')
    		}
    
    		for idx, c := range not.Exprs {
    			if idx > 0 {
    				builder.WriteString(AndWithSpace)
    			}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock_test.go

    			expectedMode: RetGovernance,
    		},
    		{
    			value:        "complIAnce",
    			expectedMode: RetCompliance,
    		},
    		{
    			value:        "gce",
    			expectedMode: "",
    		},
    	}
    
    	for _, tc := range testCases {
    		if parseRetMode(tc.value) != tc.expectedMode {
    			t.Errorf("Expected Mode %s, got %s", tc.expectedMode, parseRetMode(tc.value))
    		}
    	}
    }
    
    func TestParseLegalHoldStatus(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        }
    
        private static boolean isInRange(String value, List<RangeValue> range) {
            int leftRelation = getRelationOrder(value, range.get(0), true);
    
            if (leftRelation == 0) {
                return true;
            }
    
            if (leftRelation < 0) {
                return false;
            }
    
            return getRelationOrder(value, range.get(1), false) <= 0;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(ImmutableSortedSet.of(4), Sets.subSet(set, Range.open(2, 6)));
        assertEquals(ImmutableSortedSet.of(4, 6), Sets.subSet(set, Range.open(3, 7)));
        assertEquals(empty, Sets.subSet(set, Range.open(20, 30)));
    
        assertEquals(set, Sets.subSet(set, Range.openClosed(0, 12)));
        assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.openClosed(0, 4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	svcHost := extendFQDN(fmt.Sprintf("%s.%s", svc.ObjectMeta.Name, svc.ObjectMeta.Namespace))
    	for _, dest := range route.Route {
    		fqdn := string(model.ResolveShortnameToFQDN(dest.Destination.Host, config.Meta{Namespace: vs.Namespace}))
    		if extendFQDN(fqdn) == svcHost {
    			match = true
    		}
    	}
    
    	if match {
    		for _, trafficMatch := range route.Match {
    			facts = append(facts, trafficMatch.String())
    		}
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

      private final transient Reference<AvlNode<E>> rootReference;
      private final transient GeneralRange<E> range;
      private final transient AvlNode<E> header;
    
      TreeMultiset(Reference<AvlNode<E>> rootReference, GeneralRange<E> range, AvlNode<E> endLink) {
        super(range.comparator());
        this.rootReference = rootReference;
        this.range = range;
        this.header = endLink;
      }
    
      TreeMultiset(Comparator<? super E> comparator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
Back to top