Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,067 for integers (2.61 sec)

  1. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "I64Load8S", asm: "I64Load8S", argLength: 2, reg: gpload, aux: "Int64", typ: "Int8"},     // read signed 8-bit integer from address arg0+aux, arg1=mem
    		{name: "I64Load16U", asm: "I64Load16U", argLength: 2, reg: gpload, aux: "Int64", typ: "UInt16"}, // read unsigned 16-bit integer from address arg0+aux, arg1=mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand.go

    	// There are exactly 1<<24 float32s in [0,1). Use Intn(1<<24) / (1<<24).
    	return float32(r.Uint32()<<8>>8) / (1 << 24)
    }
    
    // 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 {
    	p := make([]int, n)
    	for i := range p {
    		p[i] = i
    	}
    	r.Shuffle(len(p), func(i, j int) { p[i], p[j] = p[j], p[i] })
    	return p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedBytes.java

        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order, interpreting them as unsigned 8-bit
       * integers.
       *
       * @since 23.1
       */
      public static void sortDescending(byte[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order, interpreting them as unsigned 8-bit
       * integers.
       *
       * @since 23.1
       */
      public static void sortDescending(byte[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/strconv/ftoaryu.go

    func ryuFtoaShortest(d *decimalSlice, mant uint64, exp int, flt *floatInfo) {
    	if mant == 0 {
    		d.nd, d.dp = 0, 0
    		return
    	}
    	// If input is an exact integer with fewer bits than the mantissa,
    	// the previous and next integer are not admissible representations.
    	if exp <= 0 && bits.TrailingZeros64(mant) >= -exp {
    		mant >>= uint(-exp)
    		ryuDigits(d, mant, mant, mant, true, false)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  9. src/strconv/atof.go

    	f = float64(mantissa)
    	if neg {
    		f = -f
    	}
    	switch {
    	case exp == 0:
    		// an integer.
    		return f, true
    	// Exact integers are <= 10^15.
    	// Exact powers of ten are <= 10^22.
    	case exp > 0 && exp <= 15+22: // int * 10^k
    		// If exponent is big but number of digits is not,
    		// can move a few zeros into the integer part.
    		if exp > 22 {
    			f *= float64pow10[exp-22]
    			exp = 22
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  10. 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)
Back to top