Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for scalar2 (0.39 sec)

  1. pkg/scheduler/framework/types_test.go

    				AllowedPodNumber: 80,
    				ScalarResources:  map[v1.ResourceName]int64{"scalar.test/scalar1": 1, "hugepages-test": 2},
    			},
    			expected: &Resource{
    				MilliCPU:         4,
    				Memory:           2000,
    				EphemeralStorage: 5000,
    				AllowedPodNumber: 80,
    				ScalarResources:  map[v1.ResourceName]int64{"scalar.test/scalar1": 1, "hugepages-test": 2},
    			},
    		},
    	}
    
    	for i, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_Operation* scalar3 = TF_GraphOperationByName(graph, "imported3/scalar");
      TF_Operation* feed3 = TF_GraphOperationByName(graph, "imported3/feed");
      TF_Operation* neg3 = TF_GraphOperationByName(graph, "imported3/neg");
      ASSERT_TRUE(scalar3 != nullptr);
      ASSERT_TRUE(feed3 != nullptr);
      ASSERT_TRUE(neg3 != nullptr);
    
      // Check that newly-imported scalar and feed have control deps (neg3 will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/scalar.go

    func (s *Scalar) Add(x, y *Scalar) *Scalar {
    	// s = 1 * x + y mod l
    	fiatScalarAdd(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Subtract sets s = x - y mod l, and returns s.
    func (s *Scalar) Subtract(x, y *Scalar) *Scalar {
    	// s = -1 * y + x mod l
    	fiatScalarSub(&s.s, &x.s, &y.s)
    	return s
    }
    
    // Negate sets s = -x mod l, and returns s.
    func (s *Scalar) Negate(x *Scalar) *Scalar {
    	// s = -1 * x + 0 mod l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/v1/defaults_test.go

    					{Name: string(v1.ResourceCPU)},
    					{Name: "scalar.io/scalar0"},
    					{Name: "scalar.io/scalar1", Weight: 1},
    				},
    			},
    			want: &configv1.NodeResourcesBalancedAllocationArgs{
    				Resources: []configv1.ResourceSpec{
    					{Name: string(v1.ResourceCPU), Weight: 1},
    					{Name: "scalar.io/scalar0", Weight: 1},
    					{Name: "scalar.io/scalar1", Weight: 1},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/fixtures/ScalaCoverage.groovy

                return VersionCoverage.versionsAtLeast(SCALA_3, "3.2.2")
            }
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_18)) {
                return VersionCoverage.versionsAtLeast(SCALA_3, "3.1.3")
            }
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_1_8)) {
                return SCALA_3
            }
            throw new IllegalArgumentException("Unsupported Java version for Scala 3: " + javaVersion)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/UpToDateScalaCompileIntegrationTest.groovy

            buildScript """
                apply plugin: 'scala'
    
                ${mavenCentralRepository()}
    
                dependencies {
                    implementation "org.scala-lang:scala-library:${ScalaCoverage.SCALA_2.last()}"
                }
    
                scala {
                    zincVersion = "1.7.1"
                }
    
                java {
                    toolchain {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy

                    plugins {
                        id 'scala'
                    }
                """
                file("${project}/src/main/scala/${project}/${project.toUpperCase()}.scala") << """
                    package ${project}
                    trait ${project.toUpperCase()}
                """
                file("${project}/src/test/scala/${project}/${project.toUpperCase()}Test.scala") << """
                    package ${project}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 16:10:12 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/ops.h

          for (int64_t i = 0; i < t.NumElements(); ++i) {
            t.flat<RealT>()(i) = RealT(v);
          }
          tensor = t;
        }
    
        /// Construct from a initializer list of scalars (a one-dimensional tensor).
        template <typename T, typename = typename std::enable_if<
                                  std::is_arithmetic<T>::value ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

            - 2
            - 3
      - description: patch with different scalar type
        original:
          foo: 1
        modified:
          foo: true
        current:
          foo: 1
          bar: 2
        threeWay:
          foo: true
        result:
          foo: true
          bar: 2
      - description: patch from scalar to list
        original:
          foo: 0
        modified:
          foo:
          - 1
          - 2
        current:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. src/crypto/ecdh/nist.go

    	// invalid points and the point at infinity, and NewPrivateKey rejects
    	// invalid scalars and the zero value. BytesX returns an error for the point
    	// at infinity, but in a prime order group such as the NIST curves that can
    	// only be the result of a scalar multiplication if one of the inputs is the
    	// zero scalar or the point at infinity.
    
    	if boring.Enabled {
    		return boring.ECDH(local.boring, remote.boring)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top