Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for goerrors (0.42 sec)

  1. pkg/util/filesystem/util_windows_test.go

    	pipeln, err := winio.ListenPipe(testFile, &winio.PipeConfig{SecurityDescriptor: "D:P(A;;GA;;;BA)(A;;GA;;;SY)"})
    	defer pipeln.Close()
    
    	require.NoErrorf(t, err, "Failed to listen on named pipe for test purposes: %v", err)
    	result, err := IsUnixDomainSocket(testFile)
    	assert.NoError(t, err, "Unexpected error from IsUnixDomainSocket.")
    	assert.False(t, result, "Unexpected result: true from IsUnixDomainSocket.")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    func isErrBucketNotFound(err error) bool {
    	if errors.Is(err, errVolumeNotFound) {
    		return true
    	}
    
    	var bkNotFound BucketNotFound
    	return errors.As(err, &bkNotFound)
    }
    
    // isErrReadQuorum check if the error type is InsufficientReadQuorum
    func isErrReadQuorum(err error) bool {
    	var rquorum InsufficientReadQuorum
    	return errors.As(err, &rquorum)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_test.go

    	assert.Equal(expected.Interfaces[0].RxBytes, *actual.RxBytes)
    	assert.Equal(expected.Interfaces[0].RxErrors, *actual.RxErrors)
    	assert.Equal(expected.Interfaces[0].TxBytes, *actual.TxBytes)
    	assert.Equal(expected.Interfaces[0].TxErrors, *actual.TxErrors)
    }
    
    func checkCRIPodCPUAndMemoryStats(assert *assert.Assertions, actual statsapi.PodStats, cs *cadvisorapiv2.ContainerStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
    
            assertFalse(activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size());
            assertEquals(1, problems.getWarnings().size());
            assertTrue(problems.getWarnings().get(0).contains(warningContains));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/policy_static_test.go

    		t.Run(testCase.description, func(t *testing.T) {
    			opts, err := NewStaticPolicyOptions(testCase.policyOptions)
    			gotError := (err != nil)
    			if gotError != testCase.expectedError {
    				t.Fatalf("error with args %v expected error %v got %v: %v",
    					testCase.policyOptions, testCase.expectedError, gotError, err)
    			}
    
    			if testCase.expectedError {
    				return
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/cmd/go/go_test.go

    	tooSlow(t, "links and runs a test")
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.run("test", "errors", "errors", "errors", "errors", "errors")
    	if strings.Contains(strings.TrimSpace(tg.getStdout()), "\n") {
    		t.Error("go test errors errors errors errors errors tested the same package multiple times")
    	}
    }
    
    func TestGoListHasAConsistentOrder(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  7. pkg/config/validation/validation_test.go

    }
    
    func checkValidationMessage(t *testing.T, gotWarning Warning, gotError error, wantWarning string, wantError string) {
    	t.Helper()
    	if (gotError == nil) != (wantError == "") {
    		t.Fatalf("got err=%v but wanted err=%v", gotError, wantError)
    	}
    	if !strings.Contains(stringOrEmpty(gotError), wantError) {
    		t.Fatalf("got err=%v but wanted err=%v", gotError, wantError)
    	}
    
    	if (gotWarning == nil) != (wantWarning == "") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

        private void wrapCompilationFailure(ScriptSource source, MultipleCompilationErrorsException e) {
            // Fix the source file name displayed in the error messages
            for (Object message : e.getErrorCollector().getErrors()) {
                if (message instanceof SyntaxErrorMessage) {
                    try {
                        SyntaxErrorMessage syntaxErrorMessage = (SyntaxErrorMessage) message;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    // mkerrors.sh -Wall -Werror -static -I/tmp/386/include -m32
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build 386 && linux
    
    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs -- -Wall -Werror -static -I/tmp/386/include -m32 _const.go
    
    package unix
    
    import "syscall"
    
    const (
    	B1000000                         = 0x1008
    	B115200                          = 0x1002
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

    // mkerrors.sh -Wall -Werror -static -I/tmp/arm64/include -fsigned-char
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && linux
    
    // Code generated by cmd/cgo -godefs; DO NOT EDIT.
    // cgo -godefs -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char _const.go
    
    package unix
    
    import "syscall"
    
    const (
    	B1000000                         = 0x1008
    	B115200                          = 0x1002
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top