Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for iota (0.04 sec)

  1. src/cmd/go/internal/modload/init.go

    	// a go.mod file in the current directory or any parent. If none is found,
    	// modules may be disabled (GO111MODULE=auto) or commands may run in a
    	// limited module mode.
    	AutoRoot Root = iota
    
    	// NoRoot is used for commands that run in module mode and ignore any go.mod
    	// file the current directory or in parent directories.
    	NoRoot
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. src/internal/trace/order.go

    }
    
    // gcState is a trinary variable for the current state of the GC.
    //
    // The third state besides "enabled" and "disabled" is "undetermined."
    type gcState uint8
    
    const (
    	gcUndetermined gcState = iota
    	gcNotRunning
    	gcRunning
    )
    
    // String returns a human-readable string for the GC state.
    func (s gcState) String() string {
    	switch s {
    	case gcUndetermined:
    		return "Undetermined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  3. src/runtime/mgcscavenge.go

    	// file. The reason we say "HasFree" here is so the zero value is
    	// correct for a newly-grown chunk. (New memory is scavenged.)
    	scavChunkHasFree scavChunkFlags = 1 << iota
    
    	// scavChunkMaxFlags is the maximum number of flags we can have, given how
    	// a scavChunkData is packed into 8 bytes.
    	scavChunkMaxFlags  = 6
    	scavChunkFlagsMask = (1 << scavChunkMaxFlags) - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/mips/asm0.go

    	a2     uint8
    	a3     uint8
    	type_  int8
    	size   int8
    	param  int16
    	family sys.ArchFamily // 0 means both sys.MIPS and sys.MIPS64
    	flag   uint8
    }
    
    const (
    	// Optab.flag
    	NOTUSETMP = 1 << iota // p expands to multiple instructions, but does NOT use REGTMP
    )
    
    var optab = []Optab{
    	{obj.ATEXT, C_LEXT, C_NONE, C_TEXTSIZE, 0, 0, 0, sys.MIPS64, 0},
    	{obj.ATEXT, C_ADDR, C_NONE, C_TEXTSIZE, 0, 0, 0, 0, 0},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modget/get.go

    	// lookup per module, and we don't want to load information that's neither
    	// relevant nor actionable.
    	type modFlags int
    	const (
    		resolved modFlags = 1 << iota // version resolved by 'go get'
    		named                         // explicitly named on command line or provides a named package
    		hasPkg                        // needed to build named packages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  6. src/runtime/mheap.go

    // to safely deal with potentially invalid pointers, since resolving
    // such pointers may race with a span being allocated.
    type mSpanState uint8
    
    const (
    	mSpanDead   mSpanState = iota
    	mSpanInUse             // allocated for garbage collected heap
    	mSpanManual            // allocated for manual management (e.g., stack allocator)
    )
    
    // mSpanStateNames are the names of the span states, indexed by
    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/testing/testing.go

    		c.Cleanup(func() {
    			os.Unsetenv(key)
    		})
    	}
    }
    
    // panicHandling controls the panic handling used by runCleanup.
    type panicHandling int
    
    const (
    	normalPanic panicHandling = iota
    	recoverAndReturnPanic
    )
    
    // runCleanup is called at the end of the test.
    // If ph is recoverAndReturnPanic, it will catch panics, and return the
    // recovered value if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/load.go

    	// imports to be in "all" (such as when the test is itself within the main
    	// module, or when ld.allClosesOverTests is true).
    	pkgInAll loadPkgFlags = 1 << iota
    
    	// pkgIsRoot indicates that the package matches one of the root package
    	// patterns requested by the caller.
    	//
    	// If LoadTests is set, then when pkgIsRoot and pkgImportsLoaded are both set,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	}
    	if stderr == "" {
    		fatalf("%s produced no output\non input:\n%s", gccBaseCmd[0], b.Bytes())
    	}
    
    	completed := false
    	sniff := make([]int, len(names))
    	const (
    		notType = 1 << iota
    		notIntConst
    		notNumConst
    		notStrLiteral
    		notDeclared
    	)
    	sawUnmatchedErrors := false
    	for _, line := range strings.Split(stderr, "\n") {
    		// Ignore warnings and random comments, with one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/lib.go

    		if err != io.EOF {
    			log.Fatalf("reading input: %v", err)
    		}
    		return -1
    	}
    	return int(c)
    }
    
    type markKind uint8 // for postorder traversal
    const (
    	_ markKind = iota
    	visiting
    	visited
    )
    
    func postorder(libs []*sym.Library) []*sym.Library {
    	order := make([]*sym.Library, 0, len(libs)) // hold the result
    	mark := make(map[*sym.Library]markKind, len(libs))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top