Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for livable (0.09 sec)

  1. src/runtime/sigqueue.go

    //
    //go:linkname signal_enable os/signal.signal_enable
    func signal_enable(s uint32) {
    	if !sig.inuse {
    		// This is the first call to signal_enable. Initialize.
    		sig.inuse = true // enable reception of signals; cannot disable
    		if GOOS == "darwin" || GOOS == "ios" {
    			sigNoteSetup(&sig.note)
    		} else {
    			noteclear(&sig.note)
    		}
    	}
    
    	if s >= uint32(len(sig.wanted)*32) {
    		return
    	}
    
    	w := sig.wanted[s/32]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/internal/race/norace.go

    package race
    
    import (
    	"unsafe"
    )
    
    const Enabled = false
    
    func Acquire(addr unsafe.Pointer) {
    }
    
    func Release(addr unsafe.Pointer) {
    }
    
    func ReleaseMerge(addr unsafe.Pointer) {
    }
    
    func Disable() {
    }
    
    func Enable() {
    }
    
    func Read(addr unsafe.Pointer) {
    }
    
    func Write(addr unsafe.Pointer) {
    }
    
    func ReadRange(addr unsafe.Pointer, len int) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 603 bytes
    - Viewed (0)
  3. src/runtime/mkfastlog2table.go

    	for i := 0; i <= (1 << fastlogNumBits); i++ {
    		fastlog2Table[i] = log2(1.0 + float64(i)/(1<<fastlogNumBits))
    	}
    	return fastlog2Table
    }
    
    // log2 is a local copy of math.Log2 with an explicit float64 conversion
    // to disable FMA. This lets us generate the same output on all platforms.
    func log2(x float64) float64 {
    	frac, exp := math.Frexp(x)
    	// Make sure exact powers of two give an exact answer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 22:12:19 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. src/runtime/security_unix.go

    	if !isSecureMode() {
    		return
    	}
    
    	// When secure mode is enabled, we do one thing: enforce specific
    	// environment variable values (currently we only force GOTRACEBACK=none)
    	//
    	// Other packages may also disable specific functionality when secure mode
    	// is enabled (determined by using linkname to call isSecureMode).
    
    	secureEnv()
    }
    
    func secureEnv() {
    	var hasTraceback bool
    	for i := 0; i < len(envs); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 866 bytes
    - Viewed (0)
  5. src/cmd/link/internal/sym/segment.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package sym
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 05:32:52 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/versions/features.go

    	}
    	return Compare(Lang(v), Lang(release)) >= 0
    }
    
    // Before reports whether the file version v is strictly before a Go release.
    //
    // Use this predicate to disable a behavior once a certain Go release
    // has happened (and stays enabled in the future).
    func Before(v, release string) bool {
    	if v == Future {
    		return false // an unknown future version happens after y.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/arm/obj.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package arm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_arm64_hwcap.go

    	ARM64.HasSHA512 = isSet(HWCap, hwcap_SHA512)
    
    	// The Samsung S9+ kernel reports support for atomics, but not all cores
    	// actually support them, resulting in SIGILL. See issue #28431.
    	// TODO(elias.naur): Only disable the optimization on bad chipsets on android.
    	ARM64.HasATOMICS = isSet(HWCap, hwcap_ATOMICS) && os != "android"
    
    	// Check to see if executing on a Neoverse core and in order to do that,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/runtime/sigqueue_plan9.go

    //
    //go:linkname signal_enable os/signal.signal_enable
    func signal_enable(s uint32) {
    	if !sig.inuse {
    		// This is the first call to signal_enable. Initialize.
    		sig.inuse = true // enable reception of signals; cannot disable
    		noteclear(&sig.note)
    	}
    }
    
    // Must only be called from a single goroutine at a time.
    //
    //go:linkname signal_disable os/signal.signal_disable
    func signal_disable(s uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/pass.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package obj
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top