Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 912 for illegal (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

            executer.withStackTraceChecksDisabled()
        }
    
        /**
         * This use case corresponds to an external library which has 2 variants published at
         * different coordinates, and using both at the same time is illegal. The libraries
         * were not published using Gradle, so the consumer needs a way to express that and
         * enforce the use of only one of them at the same time.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Utf8.java

          } while ((byte1 = bytes[index++]) >= 0);
    
          if (byte1 < (byte) 0xE0) {
            // Two-byte form.
            if (index == end) {
              return false;
            }
            // Simultaneously check for illegal trailing-byte in leading position
            // and overlong 2-byte form.
            if (byte1 < (byte) 0xC2 || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          } else if (byte1 < (byte) 0xF0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top