Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 950 for integers (0.13 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. 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)
  4. 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)
  5. src/encoding/asn1/asn1.go

    		if shifted == 5 {
    			err = StructuralError{"base 128 integer too large"}
    			return
    		}
    		ret64 <<= 7
    		b := bytes[offset]
    		// integers should be minimally encoded, so the leading octet should
    		// never be 0x80
    		if shifted == 0 && b == 0x80 {
    			err = SyntaxError{"integer is not minimally encoded"}
    			return
    		}
    		ret64 |= int64(b & 0x7f)
    		offset++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  6. src/math/big/rat.go

    		Msize2 = Msize1 + 1
    
    		// exponent
    		Esize = Fsize - Msize1
    		Ebias = 1<<(Esize-1) - 1
    		Emin  = 1 - Ebias
    		Emax  = Ebias
    	)
    
    	// TODO(adonovan): specialize common degenerate cases: 1.0, integers.
    	alen := a.bitLen()
    	if alen == 0 {
    		return 0, true
    	}
    	blen := b.bitLen()
    	if blen == 0 {
    		panic("division by zero")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    the Job. The list of indexes must be within 0 to \".spec.completions-1\" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". When this...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. src/math/rand/rand.go

    again:
    	f := float32(r.Float64())
    	if f == 1 {
    		goto again // resample; this branch is taken O(very rarely)
    	}
    	return f
    }
    
    // Perm returns, as a slice of n ints, a pseudo-random permutation of the integers
    // in the half-open interval [0,n).
    func (r *Rand) Perm(n int) []int {
    	m := make([]int, n)
    	// In the following loop, the iteration when i=0 always swaps m[0] with m[0].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/generated.proto

      // must not contain duplicates. At least one element is required.
      // The indexes are represented as intervals separated by commas.
      // The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen.
      // The number are listed in represented by the first and last element of the series,
      // separated by a hyphen.
      // For example, if the completed indexes are 1, 3, 4, 5 and 7, they are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top