Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 608 for perror (0.09 sec)

  1. src/testing/fstest/testfs_test.go

    	if err == nil {
    		t.Fatal("error expected")
    	}
    	t.Logf("Error (expecting wrapped fs.ErrPermission):\n%v", err)
    
    	if !errors.Is(err, fs.ErrPermission) {
    		t.Errorf("error should be a wrapped ErrPermission: %#v", err)
    	}
    
    	// TestFS is expected to return a list of errors.
    	// Enforce that the list can be extracted for browsing.
    	var errs interface{ Unwrap() []error }
    	if !errors.As(err, &errs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/coverage/coverage.go

    // running program to the directory specified in 'dir'. An error will
    // be returned if the operation can't be completed successfully (for
    // example, if the currently running program was not built with
    // "-cover", or if the directory does not exist).
    func WriteMetaDir(dir string) error {
    	return cfile.WriteMetaDir(dir)
    }
    
    // WriteMeta writes the meta-data content (the payload that would
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. api/go1.23.txt

    pkg crypto/x509, func ParseOID(string) (OID, error) #66249
    pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249
    pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
    pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
    pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
    pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/net/resolverdialfunc_test.go

    func (a *resolverFuncConn) Read(p []byte) (n int, err error) {
    	return a.rbuf.Read(p)
    }
    
    func (a *resolverFuncConn) Write(packet []byte) (n int, err error) {
    	if len(packet) < 2 {
    		return 0, fmt.Errorf("short write of %d bytes; want 2+", len(packet))
    	}
    	reqLen := int(packet[0])<<8 | int(packet[1])
    	req := packet[2:]
    	if len(req) != reqLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/StandardStreamsCrossVersionSpec.groovy

            output.toString().contains("quiet logging")
            if (targetVersion.baseVersion >= GradleVersion.version('4.7')) {
                // Changed handling of error log messages
                output.toString().contains("error logging")
            } else {
                error.toString().contains("error logging")
            }
    
            and:
            !stdOutAndErr.stdOut.contains("logging")
            !stdOutAndErr.stdErr.contains("logging")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. tests/associations_has_one_test.go

    	user := User{Name: "jinzhu", Account: Account{Number: "1"}}
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	if err := DB.Model(&user).Association("Languages").Replace(Account{Number: "2"}); err == nil {
    		t.Error("expected association error to be not nil")
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/testing/internal/testdeps/deps.go

    	return err
    }
    
    func (TestDeps) RunFuzzWorker(fn func(fuzz.CorpusEntry) error) error {
    	// Worker processes may or may not receive a signal when the user presses ^C
    	// On POSIX operating systems, a signal sent to a process group is delivered
    	// to all processes in that group. This is not the case on Windows.
    	// If the worker is interrupted, return quickly and without error.
    	// If only the coordinator process is interrupted, it tells each worker
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/test/mock/caserver.go

    			return nil, status.Error(codes.Unauthenticated, "request authenticate failure")
    		}
    		id = caller.Identities
    	}
    	cert, err := s.sign([]byte(request.Csr), id, time.Duration(request.ValidityDuration)*time.Second, false)
    	if err != nil {
    		caServerLog.Errorf("failed to sign CSR: %+v", err)
    		return nil, status.Errorf(err.(*caerror.Error).HTTPErrorCode(), "CSR signing error: %+v", err.(*caerror.Error))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/internal/poll/fd_poll_runtime.go

    	if pd.runtimeCtx == 0 {
    		return errors.New("waiting for unsupported file type")
    	}
    	res := runtime_pollWait(pd.runtimeCtx, mode)
    	return convertErr(res, isFile)
    }
    
    func (pd *pollDesc) waitRead(isFile bool) error {
    	return pd.wait('r', isFile)
    }
    
    func (pd *pollDesc) waitWrite(isFile bool) error {
    	return pd.wait('w', isFile)
    }
    
    func (pd *pollDesc) waitCanceled(mode int) {
    	if pd.runtimeCtx == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/testdata/issue49205.go

    // test case from issue
    
    type _ interface{
    	m /* ERROR unexpected name int in interface type; possibly missing semicolon or newline or } */ int
    }
    
    // other cases where the fix for this issue affects the error message
    
    const (
    	x int = 10 /* ERROR unexpected literal "foo" in grouped declaration; possibly missing semicolon or newline or \) */ "foo"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 952 bytes
    - Viewed (0)
Back to top