Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for inspectors (0.37 sec)

  1. src/runtime/HACKING.md

    While running on the system stack, the current user stack is not used
    for execution.
    
    nosplit functions
    -----------------
    
    Most functions start with a prologue that inspects the stack pointer
    and the current G's stack bound and calls `morestack` if the stack
    needs to grow.
    
    Functions can be marked `//go:nosplit` (or `NOSPLIT` in assembly) to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/runtime/mfinal.go

    // “synchronizes before” f(x), so in general a finalizer should use a mutex
    // or other synchronization mechanism if it needs to access mutable state in x.
    // For example, consider a finalizer that inspects a mutable field in x
    // that is modified from time to time in the main program before x
    // becomes unreachable and the finalizer is invoked.
    // The modifications in the main program and the inspection in the finalizer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/func.go

    		return false
    	}
    	fn := n.Fun.(*Name).Sym()
    	return (fn.Name == "FuncPCABI0" || fn.Name == "FuncPCABIInternal") &&
    		fn.Pkg.Path == "internal/abi"
    }
    
    // IsIfaceOfFunc inspects whether n is an interface conversion from a direct
    // reference of a func. If so, it returns referenced Func; otherwise nil.
    //
    // This is only usable before walk.walkConvertInterface, which converts to an
    // OMAKEFACE.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/symtab.go

    		putelfsym(ctxt, s, elf.STT_FUNC, elfbind)
    	}
    
    	shouldBeInSymbolTable := func(s loader.Sym) bool {
    		if ldr.AttrNotInSymbolTable(s) {
    			return false
    		}
    		// FIXME: avoid having to do name inspections here.
    		// NB: the restrictions below on file local symbols are a bit
    		// arbitrary -- if it turns out we need nameless static
    		// symbols they could be relaxed/removed.
    		sn := ldr.SymName(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  5. src/net/http/response_test.go

    				"Www-Authenticate": {`Basic realm=""`},
    			},
    			Close:         true,
    			ContentLength: -1,
    		},
    		"Your Authentication failed.\r\n",
    	},
    }
    
    // tests successful calls to ReadResponse, and inspects the returned Response.
    // For error cases, see TestReadResponseErrors below.
    func TestReadResponse(t *testing.T) {
    	for i, tt := range respTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. pkg/kube/inject/inject.go

    	}
    	container.Env = envVars
    }
    
    // GetProxyIDs returns the UID and GID to be used in the RunAsUser and RunAsGroup fields in the template
    // Inspects the namespace metadata for hints and fallbacks to the usual value of 1337.
    func GetProxyIDs(namespace *corev1.Namespace) (uid int64, gid int64) {
    	uid = constants.DefaultProxyUIDInt
    	gid = constants.DefaultProxyUIDInt
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  7. src/net/http/transfer.go

    func (br *byteReader) Read(p []byte) (n int, err error) {
    	if br.done {
    		return 0, io.EOF
    	}
    	if len(p) == 0 {
    		return 0, nil
    	}
    	br.done = true
    	p[0] = br.b
    	return 1, io.EOF
    }
    
    // transferWriter inspects the fields of a user-supplied Request or Response,
    // sanitizes them without changing the user object and provides methods for
    // writing the respective header, body and trailer in wire format.
    type transferWriter struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcs/vcs.go

    	check          func(match map[string]string) error // additional checks
    	schemelessRepo bool                                // if true, the repo pattern lacks a scheme
    }
    
    // FromDir inspects dir and its parents to determine the
    // version control system and code repository to use.
    // If no repository is found, FromDir returns an error
    // equivalent to os.ErrNotExist.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top