Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for readArg (0.13 sec)

  1. src/cmd/go/internal/work/exec.go

    }
    
    func (b *Builder) loadCachedVet(a *Action) error {
    	c := cache.Default()
    	list, _, err := cache.GetBytes(c, cache.Subkey(a.actionID, "srcfiles"))
    	if err != nil {
    		return fmt.Errorf("reading srcfiles list: %w", err)
    	}
    	var srcfiles []string
    	for _, name := range strings.Split(string(list), "\n") {
    		if name == "" { // end of list
    			continue
    		}
    		if strings.HasPrefix(name, "./") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    					},
    				},
    				RoleRef: rbac.RoleRef{
    					Kind: "Role",
    					Name: "extension-apiserver-authentication-reader",
    				},
    			},
    			options: printers.GenerateOptions{},
    			// Columns: Name, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"binding1", "Role/extension-apiserver-authentication-reader", "0s"}}},
    		},
    		// Generate options=Wide; print subject and roles.
    		{
    			binding: rbac.RoleBinding{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	// failure case of services simply not having completed a list operation that can reasonably be expected to succeed.
    	// One common case this prevents is a kubelet restart reading pods before services and some pod not having the
    	// KUBERNETES_SERVICE_HOST injected because we didn't wait a short time for services to sync before proceeding.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. src/database/sql/sql.go

    	case <-closectx.Done():
    		// rs.cancel was called via Close(); don't store this into contextDone
    		// to ensure Err() is unaffected.
    	}
    	rs.close(ctx.Err())
    }
    
    // Next prepares the next result row for reading with the [Rows.Scan] method. It
    // returns true on success, or false if there is no next result row or an error
    // happened while preparing it. [Rows.Err] should be consulted to distinguish between
    // the two cases.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	// executing the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// validating the response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    	// reading the response body.
    	// response body is expected to have the copied content of the first uploaded object.
    	object, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(string(object), "hello world")
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

    # a number of secure bytes desired and returns a base64 encoded string with at
    # least the requested entropy. Rather than directly reading from /dev/urandom,
    # we use uuidgen which calls getrandom(2). getrandom(2) verifies that the
    # entropy pool has been initialized sufficiently for the desired operation
    # before reading from /dev/urandom.
    #
    # ARGS:
    #   #1: number of secure bytes to generate. We round up to the nearest factor of 32.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    			// cancel at any future time, to catch other cases
    			go cancel()
    		}
    		for _, b := range s { // some operation reading from the raw memory
    			sink += b
    		}
    	}
    	if r.closemuScanHold {
    		t.Errorf("closemu held; should not be")
    	}
    
    	// There are 3 rows. We canceled after reading 2 so we expect either
    	// 2 or 3 depending on how the awaitDone goroutine schedules.
    	switch numRows {
    	case 0, 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    }
    
    var (
    	// allgs contains all Gs ever created (including dead Gs), and thus
    	// never shrinks.
    	//
    	// Access via the slice is protected by allglock or stop-the-world.
    	// Readers that cannot take the lock may (carefully!) use the atomic
    	// variables below.
    	allglock mutex
    	allgs    []*g
    
    	// allglen and allgptr are atomic variables that contain len(allgs) and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	}
    	c.wantErr = replace(c.wantErr, &v)
    	c.wantInitErr = replace(c.wantInitErr, &v)
    
    	if !c.fetchKeysFromRemote {
    		// Set the verifier to use the public key set instead of reading from a remote.
    		c.options.KeySet = &staticKeySet{keys: c.pubKeys}
    	}
    
    	if c.optsFunc != nil {
    		c.optsFunc(&c.options)
    	}
    
    	expectInitErr := len(c.wantInitErr) > 0
    
    	ctx := testContext(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/asm6.go

    				goto bad
    			}
    			if ctxt.Arch.Family == sys.I386 && ctxt.Flag_shared {
    				// The base register has already been set. It holds the PC
    				// of this instruction returned by a PC-reading thunk.
    				// See obj6.go:rewriteToPcrel.
    			} else {
    				base = REG_NONE
    			}
    			v = int32(vaddr(ctxt, p, a, &rel))
    
    		case obj.NAME_AUTO,
    			obj.NAME_PARAM:
    			base = REG_SP
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top