Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 275 for Implementation (0.19 sec)

  1. src/runtime/testdata/testprog/gc.go

    	gcMemoryLimit(100)
    }
    
    func GCMemoryLimitNoGCPercent() {
    	gcMemoryLimit(-1)
    }
    
    // Test SetMemoryLimit functionality.
    //
    // This test lives here instead of runtime/debug because the entire
    // implementation is in the runtime, and testprog gives us a more
    // consistent testing environment to help avoid flakiness.
    func gcMemoryLimit(gcPercent int) {
    	if oldProcs := runtime.GOMAXPROCS(4); oldProcs < 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/cover/cover.go

    		// somehow create an infinite loop.
    		//
    		// Note that in the current implementation (Go 1.20) both
    		// routines are assembly stubs that forward calls to the
    		// internal/runtime/atomic equivalents, hence the infinite
    		// loop scenario is purely theoretical (maybe if in some
    		// future implementation one of these functions might be
    		// written in Go). See #57445 for more details.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. src/fmt/scan.go

    	// The unit is Unicode code points.
    	Width() (wid int, ok bool)
    	// Because ReadRune is implemented by the interface, Read should never be
    	// called by the scanning routines and a valid implementation of
    	// ScanState may choose always to return an error from Read.
    	Read(buf []byte) (n int, err error)
    }
    
    // Scanner is implemented by any value that has a Scan method, which scans
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go

    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package unix
    
    import "unsafe"
    
    /*
     * Wrapped
     */
    
    func Access(path string, mode uint32) (err error) {
    	return Faccessat(AT_FDCWD, path, mode, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. src/syscall/syscall_solaris.go

    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_solaris.go or syscall_unix.go.
    
    package syscall
    
    import "unsafe"
    
    const _F_DUP2FD_CLOEXEC = F_DUP2FD_CLOEXEC
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/runtime/mgclimit.go

    		// our total assist time.
    		return
    	}
    	if l.transitioning {
    		throw("update during transition")
    	}
    	l.updateLocked(now)
    	l.unlock()
    }
    
    // updateLocked is the implementation of update. l.lock must be held.
    func (l *gcCPULimiterState) updateLocked(now int64) {
    	lastUpdate := l.lastUpdate.Load()
    	if now < lastUpdate {
    		// Defensively avoid overflow. This isn't even the latest update anyway.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/runtime/os2_aix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains main runtime AIX syscalls.
    // Pollset syscalls are in netpoll_aix.go.
    // The implementation is based on Solaris and Windows.
    // Each syscall is made by calling its libc symbol using asmcgocall and asmsyscall6
    // assembly functions.
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  8. src/runtime/heapdump.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Implementation of runtime/debug.WriteHeapDump. Writes all
    // objects in the heap plus additional info (roots, threads,
    // finalizers, etc.) to a file.
    
    // The format of the dumped file is described at
    // https://golang.org/s/go15heapdump.
    
    package runtime
    
    import (
    	"internal/abi"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/os/file_windows.go

    }
    
    // DevNull is the name of the operating system's “null device.”
    // On Unix-like systems, it is "/dev/null"; on Windows, "NUL".
    const DevNull = "NUL"
    
    // openFileNolog is the Windows implementation of OpenFile.
    func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
    	if name == "" {
    		return nil, &PathError{Op: "open", Path: name, Err: syscall.ENOENT}
    	}
    	path := fixLongPath(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/hash/crc32/crc32_ppc64le.s

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The vectorized implementation found below is a derived work
    // from code written by Anton Blanchard <******@****.***> found
    // at https://github.com/antonblanchard/crc32-vpmsum.  The original
    // is dual licensed under GPL and Apache 2.  As the copyright holder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top