Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for perror (0.12 sec)

  1. fastapi/applications.py

                        valid, that would mean a violation of the contract with the client,
                        so it's an error from the API developer. So, FastAPI will raise an
                        error and return a 500 error code (Internal Server Error).
    
                    Read more about it in the
                    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/helpers_test.go

    	}{
    		"in-period": {
    			observedAt: nodeConditionsObservedAt{
    				v1.NodeMemoryPressure: observedTime.Time,
    			},
    			period: 2 * time.Minute,
    			now:    now.Time,
    			result: []v1.NodeConditionType{v1.NodeMemoryPressure},
    		},
    		"out-of-period": {
    			observedAt: nodeConditionsObservedAt{
    				v1.NodeMemoryPressure: observedTime.Time,
    			},
    			period: 30 * time.Second,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// constructing HTTP request to fetch a non-existent object.
    	// expected to fail, error response asserted for expected error values later.
    	objectName := "testObject"
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods_test.go

    			if tc.wantErr {
    				if err == nil {
    					t.Errorf("%s: expected error, got nil", tc.name)
    				}
    			} else {
    				if err != nil {
    					t.Errorf("%s: unexpected error: %v", tc.name, err)
    				}
    				if gotFirstID != tc.wantFirstID || gotRangeLen != tc.wantRangeLen {
    					t.Errorf("%s: got (%d, %d), want (%d, %d)", tc.name, gotFirstID, gotRangeLen, tc.wantFirstID, tc.wantRangeLen)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    		if !ok {
    			t.Errorf("TrySend on empty chan failed")
    			select {
    			case x := <-c:
    				t.Errorf("TrySend failed but it did send %d", x)
    			default:
    			}
    		} else {
    			if i = <-c; i != 6 {
    				t.Errorf("TrySend 6, recv %d", i)
    			}
    		}
    
    		// Close
    		c <- 123
    		cv.Close()
    		if i, ok := cv.Recv(); i.Int() != 123 || !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. pkg/api/pod/util_test.go

    				t.Errorf("VisitContainers() = %+v, want %+v", gotContainers, tc.wantContainers)
    			}
    			for _, c := range tc.spec.Containers {
    				if c.SecurityContext != nil {
    					t.Errorf("VisitContainers() did not drop SecurityContext for container %q", c.Name)
    				}
    			}
    			for _, c := range tc.spec.InitContainers {
    				if c.SecurityContext != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    constexpr size_t kFbAlignment = 16;
    
    // Set `isSigned` to false if the `type` is an 8-bit unsigned integer type.
    // Since tflite doesn't support unsigned for other types, returns error if
    // `isSigned` is set to false for other types.
    static StatusOr<tflite::TensorType> GetTFLiteType(Type type,
                                                      bool is_signed = true) {
      if (!is_signed) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data.go

    				continue
    			}
    			return fmt.Errorf("dynamic relocation to unreachable symbol %s",
    				ctxt.loader.SymName(targ))
    		}
    		tgot := ctxt.loader.SymGot(targ)
    		if tgot == loadpe.RedirectToDynImportGotToken {
    
    			// Consistency check: name should be __imp_X
    			sname := ctxt.loader.SymName(targ)
    			if !strings.HasPrefix(sname, "__imp_") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  9. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // Returns a failure() on error, otherwise returns true to indicate that it
      // reached convergence, false otherwise.
      FailureOr<bool> PropagateShapeIntoAttachedFunctions(Operation* op,
                                                          int64_t max_iterations);
    
      // Shape propagation for region based control flow.
      // Returns a failure() on error, otherwise returns true to indicate that it
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
Back to top