Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,513 for integers (0.24 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

        @Override
        public int compare(Entry<?> entry1, Entry<?> entry2) {
          return entry2.getCount() - entry1.getCount(); // subtracting two nonnegative integers
        }
      }
    
      /**
       * An {@link AbstractMultiset} with additional default implementations, some of them linear-time
       * implementations in terms of {@code elementSet} and {@code entrySet}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multisets.java

        @Override
        public int compare(Entry<?> entry1, Entry<?> entry2) {
          return entry2.getCount() - entry1.getCount(); // subtracting two nonnegative integers
        }
      }
    
      /**
       * An {@link AbstractMultiset} with additional default implementations, some of them linear-time
       * implementations in terms of {@code elementSet} and {@code entrySet}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. src/fmt/print.go

    		val = val.Elem()
    	}
    	return val
    }
    
    // tooLarge reports whether the magnitude of the integer is
    // too large to be used as a formatting width or precision.
    func tooLarge(x int) bool {
    	const max int = 1e6
    	return x > max || x < -max
    }
    
    // parsenum converts ASCII to integer.  num is 0 (and isnum is false) if no number present.
    func parsenum(s string, start, end int) (num int, isnum bool, newi int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

      auto converter =
          quantfork::ExpressedToQuantizedConverter::forInputType(input_type);
    
      // Expand the range to prevent extremely small scales and large quantized
      // integers which can cause overflow. This leads to scale
      // 7.843137254901961e-9 with 8 bits.
      SmallVector<double, 4> effective_mins, effective_maxs;
      ExpandVerySmallRange(min, max, effective_mins, effective_maxs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
            // to generate a UID for the same object from multiple threads, but
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
            // to generate a UID for the same object from multiple threads, but
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/encoding/json/encode.go

    // string, an integer type, or implement [encoding.TextMarshaler]. The map keys
    // are sorted and used as JSON object keys by applying the following rules,
    // subject to the UTF-8 coercion described for string values above:
    //   - keys of any string type are used directly
    //   - [encoding.TextMarshalers] are marshaled
    //   - integer keys are converted to strings
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // x-kubernetes-int-or-string specifies that this value is
      // either an integer or a string. If this is true, an empty
      // type is allowed and type as child of anyOf is permitted
      // if following one of the following patterns:
      //
      // 1) anyOf:
      //    - type: integer
      //    - type: string
      // 2) allOf:
      //    - anyOf:
      //      - type: integer
      //      - type: string
      //    - ... zero or more
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. src/slices/slices_test.go

    // equalNaN is like == except that all NaNs are equal.
    func equalNaN[T comparable](v1, v2 T) bool {
    	isNaN := func(f T) bool { return f != f }
    	return v1 == v2 || (isNaN(v1) && isNaN(v2))
    }
    
    // offByOne returns true if integers v1 and v2 differ by 1.
    func offByOne(v1, v2 int) bool {
    	return v1 == v2+1 || v1 == v2-1
    }
    
    func TestEqualFunc(t *testing.T) {
    	for _, test := range equalIntTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Convert converts between pointers and integers.
    	// We have a special op for this so as to not confuse GC
    	// (particularly stack maps).  It takes a memory arg so it
    	// gets correctly ordered with respect to GC safepoints.
    	// It gets compiled to nothing, so its result must in the same
    	// register as its argument. regalloc knows it can use any
    	// allocatable integer register for OpConvert.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top