Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for beginning (0.23 sec)

  1. src/go/ast/import.go

    	endLine := lineAt(fset, endSpecs)
    	endFile := fset.File(endSpecs)
    	var end token.Pos
    	if endLine == endFile.LineCount() {
    		end = endSpecs
    	} else {
    		end = endFile.LineStart(endLine + 1) // beginning of next line
    	}
    	first := len(f.Comments)
    	last := -1
    	for i, g := range f.Comments {
    		if g.End() >= end {
    			break
    		}
    		// g.End() < end
    		if beg <= g.Pos() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    // b must point to the beginning of a heap object or an oblet.
    // scanobject consults the GC bitmap for the pointer mask and the
    // spans for the size of the object.
    //
    //go:nowritebarrier
    func scanobject(b uintptr, gcw *gcWork) {
    	// Prefetch object before we scan it.
    	//
    	// This will overlap fetching the beginning of the object with initial
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. src/path/filepath/path.go

    //  3. Eliminate each inner .. path name element (the parent directory)
    //     along with the non-.. element that precedes it.
    //  4. Eliminate .. elements that begin a rooted path:
    //     that is, replace "/.." by "/" at the beginning of a path,
    //     assuming Separator is '/'.
    //
    // The returned path ends in a slash only if it represents a root directory,
    // such as "/" on Unix or `C:\` on Windows.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/internal/poll/fd_wasip1.go

    		atomic.StoreUint32(&fd.Filetype, uint32(fileType))
    	}
    
    	if fileType == syscall.FILETYPE_DIRECTORY {
    		// If the file descriptor is opened on a directory, we reset the readdir
    		// cookie when seeking back to the beginning to allow reusing the file
    		// descriptor to scan the directory again.
    		if offset == 0 && whence == 0 {
    			fd.Dircookie = 0
    			return 0, nil
    		} else {
    			return 0, syscall.EINVAL
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/encoding/pem/pem.go

    // no PEM data is found, p is nil and the whole of the input is returned in
    // rest.
    func Decode(data []byte) (p *Block, rest []byte) {
    	// pemStart begins with a newline. However, at the very beginning of
    	// the byte array, we'll accept the start string without it.
    	rest = data
    	for {
    		if bytes.HasPrefix(rest, pemStart[1:]) {
    			rest = rest[len(pemStart)-1:]
    		} else if _, after, ok := bytes.Cut(rest, pemStart); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. cmd/net_test.go

    		}
    	}
    }
    
    func TestSortIPs(t *testing.T) {
    	testCases := []struct {
    		ipList       []string
    		sortedIPList []string
    	}{
    		// Default case of two ips one with higher octet moves
    		// to the beginning of the list.
    		{
    			ipList:       []string{"127.0.0.1", "10.0.0.13"},
    			sortedIPList: []string{"10.0.0.13", "127.0.0.1"},
    		},
    		// With multiple types of octet, chooses a higher octet.
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    		// for improper usage of event handler API.
    		if err := c.informer.RemoveEventHandler(registration); err != nil {
    			utilruntime.HandleError(err)
    		}
    	}()
    
    	// Wait for initial cache list to complete before beginning to reconcile
    	// objects.
    	if !cache.WaitForNamedCacheSync(c.options.Name, ctx.Done(), c.informer.HasSynced) {
    		// ctx cancelled during cache sync. return early
    		err := ctx.Err()
    		if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

     *
     * Usage: java build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
     */
    public class KillLeakingJavaProcesses {
        enum ExecutionMode {
            /**
             * Run at the beginning of each build. Kill potentially leaked processes in previous builds.
             * Only kill local Gradle processes (classpath in checkout directory).
             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/http/httpguts/httplex.go

    // by RFC 7230 section 3.2.3.
    func isOWS(b byte) bool { return b == ' ' || b == '\t' }
    
    // trimOWS returns x with all optional whitespace removes from the
    // beginning and end.
    func trimOWS(x string) string {
    	// TODO: consider using strings.Trim(x, " \t") instead,
    	// if and when it's fast enough. See issue 10292.
    	// But this ASCII-only code will probably always beat UTF-8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    }
    
    // Write a pointer-sized uint to the beginning of buf.
    func writePtr(ctxt *obj.Link, buf []byte, word uint64) {
    	switch ctxt.Arch.PtrSize {
    	case 4:
    		ctxt.Arch.ByteOrder.PutUint32(buf, uint32(word))
    	case 8:
    		ctxt.Arch.ByteOrder.PutUint64(buf, word)
    	default:
    		panic("unexpected pointer size")
    	}
    
    }
    
    // Read a pointer-sized uint from the beginning of buf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top