Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,373 for Range (0.16 sec)

  1. schema/utils.go

    	if len(foreignKeys) == 1 {
    		for idx, r := range foreignValues {
    			queryValues[idx] = r[0]
    		}
    
    		return clause.Column{Table: table, Name: foreignKeys[0]}, queryValues
    	}
    
    	columns := make([]clause.Column, len(foreignKeys))
    	for idx, key := range foreignKeys {
    		columns[idx] = clause.Column{Table: table, Name: key}
    	}
    
    	for idx, r := range foreignValues {
    		queryValues[idx] = r
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server_gen.go

    	o = msgp.AppendArrayHeader(o, uint32(len(z.CmdLines)))
    	for za0001 := range z.CmdLines {
    		o = msgp.AppendString(o, z.CmdLines[za0001])
    	}
    	// string "MinioEnv"
    	o = append(o, 0xa8, 0x4d, 0x69, 0x6e, 0x69, 0x6f, 0x45, 0x6e, 0x76)
    	o = msgp.AppendMapHeader(o, uint32(len(z.MinioEnv)))
    	for za0002, za0003 := range z.MinioEnv {
    		o = msgp.AppendString(o, za0002)
    		o = msgp.AppendString(o, za0003)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 24 21:36:44 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/GeneralRange.java

      /** Converts a Range to a GeneralRange. */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      static <T extends Comparable> GeneralRange<T> from(Range<T> range) {
        T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null;
        BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
    
        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. cmd/httprange.go

    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    // GetLength - get length of range
    func (h *HTTPRangeSpec) GetLength(resourceSize int64) (rangeLength int64, err error) {
    	switch {
    	case resourceSize < 0:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 24 14:56:28 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  5. cmd/endpoint.go

    // Add add pool endpoints
    func (l *EndpointServerPools) Add(zeps PoolEndpoints) error {
    	existSet := set.NewStringSet()
    	for _, zep := range *l {
    		for _, ep := range zep.Endpoints {
    			existSet.Add(ep.String())
    		}
    	}
    	// Validate if there are duplicate endpoints across serverPools
    	for _, ep := range zeps.Endpoints {
    		if existSet.Contains(ep.String()) {
    			return fmt.Errorf("duplicate endpoints found")
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
        }
    
        // test that the RangeSet's span is the span of all the ranges
        Iterator<Range<C>> itr = rangeSet.asRanges().iterator();
        Range<C> expectedSpan = null;
        if (itr.hasNext()) {
          expectedSpan = itr.next();
          while (itr.hasNext()) {
            expectedSpan = expectedSpan.span(itr.next());
          }
        }
    
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Stopwatch;
    import com.google.common.collect.Range;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeoutException;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
         * @return the parsed version range, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
        @Nonnull
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * A range of versions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
         * @return {@code true} if this range contains the specified version, {@code false} otherwise
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      private final int replacementsLength;
      // The first character in the safe range.
      private final char safeMin;
      // The last character in the safe range.
      private final char safeMax;
    
      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.3K bytes
    - Viewed (0)
Back to top