Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,219 for integers (0.27 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

        def "flattenToList"() {
            given:
            def integers = [1, 2, 3]
    
            expect:
            flattenCollections([1, 2, 3] as Set) == [1, 2, 3]
            flattenCollections("asdfa") == ["asdfa"]
            flattenCollections(null) == [null]
            flattenCollections([null, [null, null]]) == [null, null, null]
            flattenCollections(integers) == integers
            flattenCollections([1, 2, 3] as Set) == [1, 2, 3]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation_test.go

    							},
    						},
    						Extensions: schema.Extensions{
    							XListType: strPtr("set"),
    						},
    					},
    					"integers": {
    						Generic: schema.Generic{
    							Type: "array",
    						},
    						Items: &schema.Structural{
    							Generic: schema.Generic{
    								Type: "integer",
    							},
    						},
    						Extensions: schema.Extensions{
    							XListType: strPtr("set"),
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    }
    
    // Returns true iff `type` is a uniform quantized type whose storage type is
    // 8-bit integer and expressed type is f32.
    bool IsI8F32UniformQuantizedType(Type type);
    
    // Returns true iff `type` is a uniform quantized per-axis (per-channel) type
    // whose storage type is 8-bit integer and expressed type is f32.
    bool IsI8F32UniformQuantizedPerAxisType(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/magic.go

    // the modulus x%c and comparing against 0.
    //
    // The same "Division by invariant integers using multiplication" paper
    // by Granlund and Montgomery referenced above briefly mentions this method
    // and it is further elaborated in "Hacker's Delight" by Warren Section 10-17
    //
    // The first thing to note is that for odd integers, exact division can be computed
    // by using the modular inverse with respect to the word size 2^n.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/context/example_test.go

    // by gen will return without leaking.
    func ExampleWithCancel() {
    	// gen generates integers in a separate goroutine and
    	// sends them to the returned channel.
    	// The callers of gen need to cancel the context once
    	// they are done consuming generated integers not to leak
    	// the internal goroutine started by gen.
    	gen := func(ctx context.Context) <-chan int {
    		dst := make(chan int)
    		n := 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

      /**
       * Sorts the array, treating its elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedInts.java

      /**
       * Sorts the array, treating its elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/encoding/gob/doc.go

    	struct { }			// no field names in common
    	struct { C, D int }		// no field names in common
    
    Integers are transmitted two ways: arbitrary precision signed integers or
    arbitrary precision unsigned integers. There is no int8, int16 etc.
    discrimination in the gob format; there are only signed and unsigned integers. As
    described below, the transmitter sends the value in a variable-length encoding;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_swig.txt

    stdout 'coverage: 100.0% of statements'
    
    -- go.mod --
    module simple
    
    go 1.21
    -- main.c --
    /* A global variable */
    double Foo = 3.0;
    
    /* Compute the greatest common divisor of positive integers */
    int gcd(int x, int y) {
      int g;
      g = y;
      while (x > 0) {
        g = x;
        x = y % x;
        y = g;
      }
      return g;
    }
    
    
    -- main.go --
    package main
    
    import (
    	"fmt"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 21:29:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. test/range3.go

    // run
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test the 'for range' construct ranging over integers.
    
    package main
    
    func testint1() {
    	bad := false
    	j := 0
    	for i := range int(4) {
    		if i != j {
    			println("range var", i, "want", j)
    			bad = true
    		}
    		j++
    	}
    	if j != 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 17:20:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top