Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,593 for perror (0.1 sec)

  1. src/net/dnsclient_unix_test.go

    				if err.Error() != expectedErr.Error() {
    					t.Fatalf("unexpected error: %s", err)
    				}
    				if !reflect.DeepEqual(records, expected) {
    					t.Error("Unexpected record set")
    				}
    				_, records, err = LookupSRV("target", "tcp", "golang.org")
    				if err.Error() != expectedErr.Error() {
    					t.Errorf("unexpected error: %s", err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

        } else {
          TF_SetStatus(status, TF_INTERNAL, "Test error");
        }
      };
    
      StreamExecutor* executor = GetExecutor(0);
      TF_ASSERT_OK_AND_ASSIGN(auto stream, executor->CreateStream());
      TF_ASSERT_OK(stream->RefreshStatus());
      status_ok = false;
      auto updated_status = stream->RefreshStatus();
      ASSERT_FALSE(stream->ok());
      ASSERT_EQ(updated_status.message(), "Test error");
    }
    
    TEST_F(StreamExecutorTest, CreateEvent) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/html/template/transition.go

    				return context{
    					state: stateError,
    					err:   errorf(ErrPartialEscape, nil, 0, "unfinished escape sequence in CSS string: %q", s),
    				}, len(s)
    			}
    		} else {
    			c.state = stateCSS
    			return c, i + 1
    		}
    		c, _ = tURL(c, decodeCSS(s[:i+1]))
    		k = i + 1
    	}
    }
    
    // tError is the context transition function for the error state.
    func tError(c context, s []byte) (context, int) {
    	return c, len(s)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    			if err != nil {
    				uerr, ok := err.(*url.Error)
    				if !ok {
    					t.Errorf("error is not a url.Error; got: %#v", err)
    					continue
    				}
    				nerr, ok := uerr.Err.(net.Error)
    				if !ok {
    					t.Errorf("error does not satisfy net.Error interface; got: %#v", err)
    					continue
    				}
    				if !nerr.Timeout() {
    					t.Errorf("want timeout error; got: %q", nerr)
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

         * Sends an exception to the user in the <b>error</b> error level.
         * The stack trace for this exception will be output when this error level is enabled.
         *
         * @param error the error that caused this log
         */
        void error(Throwable error);
    
        void error(Supplier<String> content);
    
        void error(Supplier<String> content, Throwable error);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/builtins0.go

    	_ = make([]int, 1 /* ERROR "overflows" */ <<100, 1 /* ERROR "overflows" */ <<100)
    	_ = make([]int, 10 /* ERROR "length and capacity swapped" */ , 9)
    	_ = make([]int, 1 /* ERROR "overflows" */ <<100, 12345)
    	_ = make([]int, m /* ERROR "must be integer" */ )
            _ = &make /* ERROR "cannot take address" */ ([]int, 0)
    
    	// maps
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/stmt0.go

    	b = i /* ERRORx `cannot use .* in assignment` */
    	i = f /* ERRORx `cannot use .* in assignment` */
    	f = c /* ERRORx `cannot use .* in assignment` */
    	c = s /* ERRORx `cannot use .* in assignment` */
    	s = b /* ERRORx `cannot use .* in assignment` */
    
    	v0, v1, v2 := 1 /* ERROR "assignment mismatch" */ , 2, 3, 4
    	_, _, _ = v0, v1, v2
    
    	b = true
    
    	i += 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. src/syscall/syscall_darwin.go

    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	closedir(dir uintptr) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Dup2(from int, to int) (err error)
    //sys	Exchangedata(path1 string, path2 string, options int) (err error)
    //sys	Fchdir(fd int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    		res *v1.ImageStatusResponse
    		err error
    	}
    	listPodSandboxReturns struct {
    		res []*v1.PodSandbox
    		err error
    	}
    	newRemoteImageServiceReturns struct {
    		res cri.ImageManagerService
    		err error
    	}
    	newRemoteRuntimeServiceReturns struct {
    		res cri.RuntimeService
    		err error
    	}
    	pullImageReturns struct {
    		res string
    		err error
    	}
    	removePodSandboxReturns struct {
    		res error
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/decls2/decls2a.go

    // T2's method declared before the type.
    func (*T2) f /* ERROR "field and method" */ () {}
    
    type T2 struct {
    	f int
    }
    
    // Methods declared without a declared type.
    func (undefined /* ERROR "undefined" */) m() {}
    func (x *undefined /* ERROR "undefined" */) m() {}
    
    func (pi /* ERROR "not a type" */) m1() {}
    func (x pi /* ERROR "not a type" */) m2() {}
    func (x *pi /* ERROR "not a type" */ ) m3() {}
    
    // Blank types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top