Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for gretty (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    	}
    
    	return string(y)
    }
    
    func toJSON(v interface{}) ([]byte, error) {
    	j, err := json.Marshal(v)
    	if err != nil {
    		return nil, fmt.Errorf("json marshal failed: %v\n%v\n", err, dump.Pretty(v))
    	}
    
    	return j, nil
    }
    
    func jsonToYAML(j []byte) ([]byte, error) {
    	y, err := yaml.JSONToYAML(j)
    	if err != nil {
    		return nil, fmt.Errorf("json to yaml failed: %v\n%v\n", err, j)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    					t.Errorf("want timeout error; got: %q", nerr)
    					continue
    				}
    				if !tt.wantTimeout {
    					if !retry {
    						// The timeout may be set too short. Retry with a longer one.
    						t.Logf("unexpected timeout for path %q after %v; retrying with longer timeout", tt.path, timeout)
    						timeout *= 2
    						retry = true
    					}
    				}
    				if !strings.Contains(err.Error(), "timeout awaiting response headers") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    	// https://go.dev/issue/52372: only include CGO flags if -trimpath is not set.
    	// (If -trimpath is set, it is possible that these flags include system paths.)
    	// If cgo is involved, reproducibility is already pretty well ruined anyway,
    	// given that we aren't stamping header or library versions.
    	//
    	// TODO(bcmills): perhaps we could at least parse the flags and stamp the
    	// subset of flags that are known not to be paths?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  4. src/reflect/value.go

    				// that the runtime will crash on if it sees it during GC or write barriers.
    				// Since it is a not-in-heap pointer, all pointers to the heap are
    				// forbidden! That makes the test pretty easy.
    				// See issue 48399.
    				if !verifyNotInHeapPtr(*(*uintptr)(ptr)) {
    					panic("reflect: reflect.Value.Elem on an invalid notinheap pointer")
    				}
    			}
    			ptr = *(*unsafe.Pointer)(ptr)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top