Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,595 for integers (0.38 sec)

  1. src/cmd/compile/internal/ssa/func.go

    		CanonicalLocalSplits: make(map[LocalSlotSplitKey]*LocalSlot),
    	}
    }
    
    // NumBlocks returns an integer larger than the id of any Block in the Func.
    func (f *Func) NumBlocks() int {
    	return f.bid.num()
    }
    
    // NumValues returns an integer larger than the id of any Value in the Func.
    func (f *Func) NumValues() int {
    	return f.vid.num()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      //
      // +listType=atomic
      // +optional
      repeated NamedResourcesAttribute attributes = 2;
    }
    
    // NamedResourcesIntSlice contains a slice of 64-bit integers.
    message NamedResourcesIntSlice {
      // Ints is the slice of 64-bit integers.
      //
      // +listType=atomic
      repeated int64 ints = 1;
    }
    
    // NamedResourcesRequest is used in ResourceRequestModel.
    message NamedResourcesRequest {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_util.h

    #include "xla/statusor.h"
    #include "tensorflow/core/framework/types.h"
    
    namespace tensorflow {
    namespace jit {
    class DeviceInfoCache;
    class DeviceSet;
    
    // Instances of DeviceId represent TensorFlow devices as integers.
    //
    // This helps avoid having to manipulate device names as strings when
    // auto-clustering.
    class DeviceId {
     public:
      DeviceId(DeviceId&&) = default;
      DeviceId(const DeviceId&) = default;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    %    remainder              integers
    
    &    bitwise AND            integers
    |    bitwise OR             integers
    ^    bitwise XOR            integers
    &^   bit clear (AND NOT)    integers
    
    <<   left shift             integer << integer >= 0
    >>   right shift            integer >> integer >= 0
    </pre>
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/runtime/string.go

    	n := int64(un)
    	if neg {
    		n = -n
    	}
    
    	return n, true
    }
    
    // atoi is like atoi64 but for integers
    // that fit into an int.
    func atoi(s string) (int, bool) {
    	if n, ok := atoi64(s); n == int64(int(n)) {
    		return int(n), ok
    	}
    	return 0, false
    }
    
    // atoi32 is like atoi but for integers
    // that fit into an int32.
    func atoi32(s string) (int32, bool) {
    	if n, ok := atoi64(s); n == int64(int32(n)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/crypto/x509/oid.go

    		// Thus the representation is either non-minimal or too large for an int32
    		if shifted == 5 {
    			failed = true
    			return
    		}
    		ret64 <<= 7
    		b := bytes[offset]
    		// integers should be minimally encoded, so the leading octet should
    		// never be 0x80
    		if shifted == 0 && b == 0x80 {
    			failed = true
    			return
    		}
    		ret64 |= int64(b & 0x7f)
    		offset++
    		if b&0x80 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

        "Q" # !if (signed, "I", "UI") # !head(params) # " type"> {
      string name = n;
      string asTraitArgsStr =
        !interleave(params, ", ") # !if(signed, ", true", ", false");
    }
    
    // Uniform quantized types. Two integers "smantissa" and "sexp" are used to
    // express the Mantissa and Exponent components of the floating-point scale so
    // the scale of the quantized type is "smantissa * 10 ^ sexp".
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
        List<Integer> list = Arrays.asList(3, foo, bar, -1);
        List<Integer> result = numberOrdering.leastOf(list, list.size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. src/log/slog/value_test.go

    	if a != 0 {
    		t.Errorf("got %d allocs, want zero", a)
    	}
    	_ = u
    	_ = f
    	_ = b
    	_ = s
    	_ = x
    	_ = tm
    }
    
    func TestAnyLevelAlloc(t *testing.T) {
    	// Because typical Levels are small integers,
    	// they are zero-alloc.
    	var a Value
    	x := LevelDebug + 100
    	wantAllocs(t, 0, func() { a = AnyValue(x) })
    	_ = a
    }
    
    func TestAnyValue(t *testing.T) {
    	for _, test := range []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/database/sql/convert_test.go

    		// correctly reset when calling time.Time.AppendFormat.
    		{s: time.Unix(2, 5).UTC(), d: &scanraw, wantraw: RawBytes("1970-01-01T00:00:02.000000005Z")},
    
    		// Strings to integers
    		{s: "255", d: &scanuint8, wantuint: 255},
    		{s: "256", d: &scanuint8, wanterr: "converting driver.Value type string (\"256\") to a uint8: value out of range"},
    		{s: "256", d: &scanuint16, wantuint: 256},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top