Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 148 for osinit (0.2 sec)

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

    // calling Init and Enabled, the main package can call this function.
    func WillBeEnabled() bool {
    	if modRoots != nil || cfg.ModulesEnabled {
    		// Already enabled.
    		return true
    	}
    	if initialized {
    		// Initialized, not enabled.
    		return false
    	}
    
    	// Keep in sync with Init. Init does extra validation and prints warnings or
    	// exits, so it can't call this function directly.
    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/cmd/go/internal/modcmd/init.go

    must not already exist.
    
    Init accepts one optional argument, the module path for the new module. If the
    module path argument is omitted, init will attempt to infer the module path
    using import comments in .go files, vendoring tool configuration files (like
    Gopkg.lock), and the current directory (if in GOPATH).
    
    See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'.
    `,
    	Run: runInit,
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. internal/init/init.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package init
    
    import "os"
    
    func init() {
    	// All MinIO operations must be under UTC.
    	os.Setenv("TZ", "UTC")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 04 23:44:38 UTC 2022
    - 874 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tutorial/systemProperties/groovy/init.gradle

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 59 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tutorial/gradleProperties/groovy/init.gradle

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 401 bytes
    - Viewed (0)
  6. internal/once/init.go

    // initialized when the provided function returns nil.
    
    // Init represents the structure.
    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    // call to the function. ie, it invokes the function
    // if it is not successful yet.
    func (l *Init) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.do(f)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 04:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/runtime/mpagealloc_32bit.go

    		_, hi = blockAlignSummaryRange(l, lo, hi)
    		if hi > len(p.summary[l]) {
    			p.summary[l] = p.summary[l][:hi]
    		}
    	}
    }
    
    // sysInit initializes the scavengeIndex' chunks array.
    //
    // Returns the amount of memory added to sysStat.
    func (s *scavengeIndex) sysInit(test bool, sysStat *sysMemStat) (mappedReady uintptr) {
    	if test {
    		// Set up the scavenge index via sysAlloc so the test can free it later.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build !386 && !amd64 && !amd64p32 && !arm64
    
    package cpu
    
    func archInit() {
    	if err := readHWCAP(); err != nil {
    		return
    	}
    	doinit()
    	Initialized = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 322 bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_other_arm64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !linux && !netbsd && !openbsd && arm64
    
    package cpu
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 241 bytes
    - Viewed (0)
  10. src/cmd/go/internal/workcmd/init.go

    // go work init
    
    package workcmd
    
    import (
    	"context"
    	"path/filepath"
    
    	"cmd/go/internal/base"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modload"
    
    	"golang.org/x/mod/modfile"
    )
    
    var cmdInit = &base.Command{
    	UsageLine: "go work init [moddirs]",
    	Short:     "initialize workspace file",
    	Long: `Init initializes and writes a new go.work file in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top