Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2181 - 2190 of 3,769 for qint (0.04 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple5.java

        @Override
        public String toString() {
            return "{" + value1 + ", " + value2 + ", " + value3 + ", " + value4 + ", " + value5 + "}";
        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((value1 == null) ? 0 : value1.hashCode());
            result = prime * result + ((value2 == null) ? 0 : value2.hashCode());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/untar.go

    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    	return formatUnknown
    }
    
    //go:generate stringer -type=format -trimprefix=format $GOFILE
    type format int
    
    const (
    	formatUnknown format = iota
    	formatGzip
    	formatZstd
    	formatLZ4
    	formatS2
    	formatBZ2
    )
    
    var magicHeaders = []struct {
    	header []byte
    	f      format
    }{
    	{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/s3select/simdj/record.go

    		if err != nil {
    			return nil, err
    		}
    		return sql.FromFloat(v), nil
    	case simdjson.TypeInt:
    		v, err := iter.Int()
    		if err != nil {
    			return nil, err
    		}
    		return sql.FromInt(v), nil
    	case simdjson.TypeUint:
    		v, err := iter.Int()
    		if err != nil {
    			// Can't fit into int, convert to float.
    			v, err := iter.Float()
    			return sql.FromFloat(v), err
    		}
    		return sql.FromInt(v), nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    Finally, the identity of our heroes is protected! 🥷
    
    It also re-declares `id: int`. By doing this, we are making a **contract** with the API clients, so that they can always expect the `id` to be there and to be an `int` (it will never be `None`).
    
    /// tip
    
    Having the return model ensure that a value is always available and always `int` (not `None`) is very useful for the API clients, they can write much simpler code having this certainty.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

       *       equivalence(x, y)} is false, {@code hash(x) == hash(y)} may still be true.
       *   <li>{@code hash(null)} is {@code 0}.
       * </ul>
       */
      public final int hash(@CheckForNull T t) {
        if (t == null) {
          return 0;
        }
        return doHash(t);
      }
    
      /**
       * Implemented by the user to return a hash code for {@code t}, subject to the requirements
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. cmd/bucket-replication-metrics.go

    }
    
    // SMA struct for calculating simple moving average
    type SMA struct {
    	buf       []float64
    	window    int     // len of buf
    	idx       int     // current index in buf
    	CAvg      float64 // cumulative average
    	prevSMA   float64
    	filledBuf bool
    }
    
    func newSMA(ln int) *SMA {
    	if ln <= 0 {
    		ln = defaultWindowSize
    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

          }
          return uid;
        }
    
        @Override
        public int compare(@CheckForNull Object left, @CheckForNull Object right) {
          if (left == right) {
            return 0;
          } else if (left == null) {
            return -1;
          } else if (right == null) {
            return 1;
          }
          int leftCode = identityHashCode(left);
          int rightCode = identityHashCode(right);
          if (leftCode != rightCode) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class EqualsTester {
      private static final int REPETITIONS = 3;
    
      private final List<List<Object>> equalityGroups = Lists.newArrayList();
      private final RelationshipTester.ItemReporter itemReporter;
    
      /** Constructs an empty EqualsTester instance */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
        assertEquals(2 * keys.size(), alternatingKeysAndValues.length);
        assertEquals(2 * values.size(), alternatingKeysAndValues.length);
        for (int i = 0; i < map.size(); i++) {
          Object expectedKey = alternatingKeysAndValues[2 * i];
          Object expectedValue = alternatingKeysAndValues[2 * i + 1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/query-params.md

    ```Python hl_lines="10"
    {!../../docs_src/query_params/tutorial006.py!}
    ```
    
    En este caso hay 3 parámetros de query:
    
    * `needy`, un `str` requerido.
    * `skip`, un `int` con un valor por defecto de `0`.
    * `limit`, un `int` opcional.
    
    /// tip | Consejo
    
    También podrías usar los `Enum`s de la misma manera que con los [Parámetros de path](path-params.md#valores-predefinidos){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top