Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 529 for isLegal (0.14 sec)

  1. tensorflow/c/experimental/saved_model/core/ops/variable_ops.h

    // Executes an AssignVariableOp using `ctx`, assigning the variable associated
    // with `variable_handle` with `value`. `dtype` must be the datatype of the
    // underlying variable for `variable_handle`. Note that it is illegal to assign
    // a variable to a Tensor with a different dtype than what the variable was
    // created with.
    Status AssignVariable(ImmediateExecutionContext* ctx,
                          ImmediateExecutionTensorHandle* variable_handle,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

            }
    
            char firstChar = name.charAt(0);
    
            if (INVALID_FIRST_CHAR_MATCHER.matches(firstChar)) {
                throw new InvalidNameException(String.format("Model element name '%s' has illegal first character '%s' (names must start with an ASCII letter or underscore).", name, firstChar));
            }
    
            for (int i = 1; i < name.length(); ++i) {
                char character = name.charAt(i);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/networking/v1/generated.pb.go

    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
    			}
    			var stringLen uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 158.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/networking/v1alpha1/generated.pb.go

    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: IPAddress: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: IPAddress: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
    			}
    			var msglen int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. pkg/util/kernel/version_test.go

    			expected: nil,
    		},
    		{
    			name: "version not parsable",
    			readFileFunc: func(_ string) ([]byte, error) {
    				return []byte("5-15-0"), nil
    			},
    			err:      errors.New("failed to parse kernel version: illegal version string \"5-15-0\""),
    			expected: nil,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			kernelVersion, err := getVersion(tc.readFileFunc)
    
    			if tc.err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/expr_test.go

    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    	{"(23*4", "missing closing paren"},
    	{")23*4", "unexpected ) evaluating expression"},
    	{"18446744073709551616", "value out of range"},
    }
    
    func TestBadExpr(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. test/convert1.go

    // errorcheck
    
    // Copyright 2011 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.
    
    // Verify that illegal conversions involving strings are detected.
    // Does not compile.
    
    package main
    
    type Tbyte []byte
    type Trune []rune
    type Tint64 []int64
    type Tstring string
    
    func main() {
    	s := "hello"
    	sb := []byte("hello")
    	sr := []rune("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/reporter/PerformanceReporter.groovy

                    spec.setStandardOutput(output)
                }
            })
    
            String message = output.toString().readLines().findAll { line ->
                ! [
                    // WARNING: All illegal access operations will be denied in a future release
                    "WARNING",
                    // SLF4J: Class path contains multiple SLF4J bindings.
                    "SLF4J"
                ].any { line.contains(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 22 15:27:22 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. test/convlit.go

    // errorcheck
    
    // Copyright 2009 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.
    
    // Verify that illegal assignments with both explicit and implicit conversions of literals are detected.
    // Does not compile.
    
    package main
    
    import "unsafe"
    
    // explicit conversion of constants
    var x1 = string(1)
    var x2 string = string(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 23 05:11:09 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractHasCommonSubtypeTest.kt

                            }
                        }
                        val valueArguments = expression.valueArguments
                        require(valueArguments.size == 2) {
                            "Illegal call of ${expression.name} at ${expression.positionString}"
                        }
    
                        val a = valueArguments[0]
                        val aType = a.getArgumentExpression()?.getKaType()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top