Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for readArg (0.29 sec)

  1. src/cmd/go/internal/test/test.go

    		if cache.DebugTest {
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err)
    			} else {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath)
    			}
    		}
    		return
    	}
    	testInputsID, err := computeTestInputsID(a, testlog)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_test.go

    		t.Errorf("Conn.processCertsFromClient unexpected error: want %q, got %q", expectedErr, err)
    	}
    }
    
    func TestTLS13ECHRejectionCallbacks(t *testing.T) {
    	k, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    		DNSNames:     []string{"example.golang"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  3. pkg/controller/disruption/disruption_test.go

    	// FUN FACT: This guarantees that the informer caches have updated, but it does
    	// not guarantee that informer event handlers have completed. Fortunately,
    	// DisruptionController does most of its logic by reading from informer
    	// listers, so this guarantee is sufficient.
    	if err := waitForCacheCount(dc.pdbStore, 1); err != nil {
    		t.Fatalf("Failed to verify PDB in informer cache: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	cycleState := framework.NewCycleState()
    	gotStatus := p.(framework.FilterPlugin).Filter(ctx, cycleState, pod, nodeInfo)
    	wantStatus := framework.AsStatus(fmt.Errorf(`error reading "PreFilterNodeResourcesFit" from cycleState: %w`, framework.ErrNotFound))
    	if !reflect.DeepEqual(gotStatus, wantStatus) {
    		t.Errorf("status does not match: %v, want: %v", gotStatus, wantStatus)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Preconditions.java

     *
     * <p>It is of course possible to use the methods of this class to check for invalid conditions
     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  6. src/syscall/syscall_windows.go

    func Read(fd Handle, p []byte) (n int, err error) {
    	var done uint32
    	e := ReadFile(fd, p, &done, nil)
    	if e != nil {
    		if e == ERROR_BROKEN_PIPE {
    			// NOTE(brainman): work around ERROR_BROKEN_PIPE is returned on reading EOF from stdin
    			return 0, nil
    		}
    		return 0, e
    	}
    	return int(done), nil
    }
    
    func Write(fd Handle, p []byte) (n int, err error) {
    	var done uint32
    	e := WriteFile(fd, p, &done, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  7. src/reflect/type.go

    var funcLookupCache struct {
    	sync.Mutex // Guards stores (but not loads) on m.
    
    	// m is a map[uint32][]*rtype keyed by the hash calculated in FuncOf.
    	// Elements of m are append-only and thus safe for concurrent reading.
    	m sync.Map
    }
    
    // ChanOf returns the channel type with the given direction and element type.
    // For example, if t represents int, ChanOf(RecvDir, t) represents <-chan int.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>It is of course possible to use the methods of this class to check for invalid conditions
     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
     * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
     * explained</a> in the Guava User Guide for more advice. Notably, {@link Verify} offers assertions
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    			},
    		},
    	}
    
    	meshConfigWithRegistryOnly, err := mesh.ApplyMeshConfigDefaults(`
    outboundTrafficPolicy:
      mode: REGISTRY_ONLY
    `)
    	if err != nil {
    		t.Fatalf("unexpected error reading test mesh config: %v", err)
    	}
    
    	tests := []struct {
    		name                  string
    		meshConfig            *v1alpha1.MeshConfig
    		sidecar               *config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	// Scan DWARF info for top-level TagVariable entries with AttrName __cgo__i.
    	types := make([]dwarf.Type, len(names))
    	r := d.Reader()
    	for {
    		e, err := r.Next()
    		if err != nil {
    			fatalf("reading DWARF entry: %s", err)
    		}
    		if e == nil {
    			break
    		}
    		switch e.Tag {
    		case dwarf.TagVariable:
    			name, _ := e.Val(dwarf.AttrName).(string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top