Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,464 for perror (0.11 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

                return new OutputScrapingExecutionFailure(output, error, true);
            }
            return new OutputScrapingExecutionResult(LogContent.of(output), LogContent.of(error), true);
        }
    
        /**
         * @param output The build stdout content.
         * @param error The build stderr content. Must have normalized line endings.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/net/net_windows_test.go

    	if err != nil {
    		if len(out) != 0 {
    			return nil, fmt.Errorf("%s failed: %v: %q", args[0], err, string(removeUTF8BOM(out)))
    		}
    		var err2 error
    		out, err2 = os.ReadFile(f.Name())
    		if err2 != nil {
    			return nil, err2
    		}
    		if len(out) != 0 {
    			return nil, fmt.Errorf("%s failed: %v: %q", args[0], err, string(removeUTF8BOM(out)))
    		}
    		return nil, fmt.Errorf("%s failed: %v", args[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/encoding/xml/xml_test.go

    		if test.err == "" {
    			if err != io.EOF {
    				t.Errorf("parse %s: have %q error, expected none", test.src, err)
    			}
    			continue
    		}
    		// Inv: err != nil
    		if err == io.EOF {
    			t.Errorf("parse %s: unexpected EOF", test.src)
    			continue
    		}
    		if !strings.Contains(err.Error(), test.err) {
    			t.Errorf("parse %s: can't find %q error substring\nerror: %q", test.src, test.err, err)
    			continue
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. cmd/api-response.go

    }
    
    // writeErrorResponseJSON - writes error response in JSON format;
    // useful for admin APIs.
    func writeErrorResponseJSON(ctx context.Context, w http.ResponseWriter, err APIError, reqURL *url.URL) {
    	// Generate error response.
    	errorResponse := getAPIErrorResponse(ctx, err, reqURL.Path, w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    	encodedErrorResponse := encodeResponseJSON(errorResponse)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/interface.go

    }
    
    // AsError returns nil if the status is a success, a wait or a skip; otherwise returns an "error" object
    // with a concatenated message on reasons of the Status.
    func (s *Status) AsError() error {
    	if s.IsSuccess() || s.IsWait() || s.IsSkip() {
    		return nil
    	}
    	if s.err != nil {
    		return s.err
    	}
    	return errors.New(s.Message())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top