Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for declareNS (0.32 sec)

  1. src/go/build/build.go

    type MultiplePackageError struct {
    	Dir      string   // directory containing files
    	Packages []string // package names found
    	Files    []string // corresponding files: Files[i] declares package Packages[i]
    }
    
    func (e *MultiplePackageError) Error() string {
    	// Error string limited to two entries for compatibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    			}
    			p.want(_Semi)
    			if p.tok != _Lbrace {
    				post = p.simpleStmt(nil, 0 /* range not permitted */)
    				if a, _ := post.(*AssignStmt); a != nil && a.Op == Def {
    					p.syntaxErrorAt(a.Pos(), "cannot declare in post statement of for loop")
    				}
    			}
    		} else if p.tok != _Lbrace {
    			condStmt = p.simpleStmt(nil, keyword)
    		}
    	} else {
    		condStmt = init
    		init = nil
    	}
    
    done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	// Remove active pods if Job failed.
    	if jobCtx.finishedCondition != nil {
    		deleted, err := jm.deleteActivePods(ctx, &job, jobCtx.activePods)
    		if deleted != active || !satisfiedExpectations {
    			// Can't declare the Job as finished yet, as there might be remaining
    			// pod finalizers or pods that are not in the informer's cache yet.
    			jobCtx.finishedCondition = nil
    		}
    		active -= deleted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. src/testing/testing.go

    //	    // Unordered output: 4
    //	    // 2
    //	    // 1
    //	    // 3
    //	    // 0
    //	}
    //
    // Example functions without output comments are compiled but not executed.
    //
    // The naming convention to declare examples for the package, a function F, a type T and
    // method M on type T are:
    //
    //	func Example() { ... }
    //	func ExampleF() { ... }
    //	func ExampleT() { ... }
    //	func ExampleT_M() { ... }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    tests and example functions. See 'go help testfunc' for more.
    Each listed package causes the execution of a separate test binary.
    Files whose names begin with "_" (including "_test.go") or "." are ignored.
    
    Test files that declare a package with the suffix "_test" will be compiled as a
    separate package, and then linked and run with the main test binary.
    
    The go tool will ignore a directory named "testdata", making it available
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. src/runtime/mheap.go

    // acquire the heap lock via allocSpan. See mheap for details.
    //
    // If new code is written to call allocManual, do NOT use an
    // existing spanAllocType value and instead declare a new one.
    //
    //go:systemstack
    func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
    	if !typ.manual() {
    		throw("manual span allocation called with non-manually-managed type")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/load.go

    	LoadTests bool
    
    	// UseVendorAll causes the "all" package pattern to be interpreted as if
    	// running "go mod vendor" (or building with "-mod=vendor").
    	//
    	// This is a no-op for modules that declare 'go 1.16' or higher, for which this
    	// is the default (and only) interpretation of the "all" pattern in module mode.
    	UseVendorAll bool
    
    	// AllowErrors indicates that LoadPackages should not terminate the process if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/loader.go

    func (l *Loader) growOuter(reqLen int) {
    	curLen := len(l.outer)
    	if reqLen > curLen {
    		l.outer = append(l.outer, make([]Sym, reqLen-curLen)...)
    	}
    }
    
    // SetCarrierSym declares that 'c' is the carrier or container symbol
    // for 's'. Carrier symbols are used in the linker to as a container
    // for a collection of sub-symbols where the content of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
Back to top