Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for asminit (0.18 sec)

  1. src/internal/cpu/cpu_arm64.go

    		{Name: "cpuid", Feature: &ARM64.HasCPUID},
    		{Name: "isNeoverse", Feature: &ARM64.IsNeoverse},
    	}
    
    	// arm64 uses different ways to detect CPU features at runtime depending on the operating system.
    	osInit()
    }
    
    func getisar0() uint64
    
    func getMIDR() uint64
    
    func extractBits(data uint64, start, end uint) uint {
    	return (uint)(data>>start) & ((1 << (end - start + 1)) - 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 14:08:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_netbsd.c

    	ts = *(ThreadStart*)v;
    	free(v);
    
    	// On NetBSD, a new thread inherits the signal stack of the
    	// creating thread. That confuses minit, so we remove that
    	// signal stack here before calling the regular mstart. It's
    	// a bit baroque to remove a signal stack here only to add one
    	// in minit, but it's a simple change that keeps NetBSD
    	// working like other OS's. At this point all signals are
    	// blocked, so there is no race.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 03:55:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/internal/cpu/cpu_arm64_openbsd.go

    	// From OpenBSD's sys/sysctl.h.
    	_CTL_MACHDEP = 7
    
    	// From OpenBSD's machine/cpu.h.
    	_CPU_ID_AA64ISAR0 = 2
    	_CPU_ID_AA64ISAR1 = 3
    )
    
    //go:noescape
    func sysctlUint64(mib []uint32) (uint64, bool)
    
    func osInit() {
    	// Get ID_AA64ISAR0 from sysctl.
    	isar0, ok := sysctlUint64([]uint32{_CTL_MACHDEP, _CPU_ID_AA64ISAR0})
    	if !ok {
    		return
    	}
    	parseARM64SystemRegisters(isar0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 26 16:42:53 UTC 2022
    - 574 bytes
    - Viewed (0)
  4. src/runtime/os_openbsd_arm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    func checkgoarm() {
    	// TODO(minux): FP checks like in os_linux_arm.go.
    
    	// osinit not called yet, so ncpu not set: must use getncpu directly.
    	if getncpu() > 1 && goarm < 7 {
    		print("runtime: this system has multiple CPUs and must use\n")
    		print("atomic synchronization instructions. Recompile using GOARM=7.\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 662 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

          return bytes.length * 8;
        }
    
        @Override
        public byte[] asBytes() {
          return bytes.clone();
        }
    
        @Override
        public int asInt() {
          checkState(
              bytes.length >= 4,
              "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).",
              bytes.length);
          return (bytes[0] & 0xFF)
              | ((bytes[1] & 0xFF) << 8)
              | ((bytes[2] & 0xFF) << 16)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  6. src/crypto/aes/gcm_ppc64x.go

    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/subtle"
    	"errors"
    	"internal/byteorder"
    	"runtime"
    )
    
    // This file implements GCM using an optimized GHASH function.
    
    //go:noescape
    func gcmInit(productTable *[256]byte, h []byte)
    
    //go:noescape
    func gcmHash(output []byte, productTable *[256]byte, inp []byte, len int)
    
    //go:noescape
    func gcmMul(output []byte, productTable *[256]byte)
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaLanguageVersion.java

        }
    
        private final int version;
    
        private DefaultJavaLanguageVersion(int version) {
            this.version = version;
        }
    
        @Override
        public int asInt() {
            return version;
        }
    
        @Override
        public String toString() {
            if (version < 5) {
                return String.format("1.%d", version);
            }
            return Integer.toString(version);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/runtime/os3_solaris.go

    // Called on the new thread, cannot allocate memory.
    func minit() {
    	asmcgocall(unsafe.Pointer(abi.FuncPCABI0(miniterrno)), unsafe.Pointer(&libc____errno))
    
    	minitSignals()
    
    	getg().m.procid = uint64(pthread_self())
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            when:
            runWithInput("askInt", INT_PROMPT, stdin)
    
            then:
            outputContains("result = $accepted")
    
            where:
            stdin | accepted
            "2"   | 2
            "34"  | 34
            ""    | 3
        }
    
        def "does not prompt user for int question in non-interactive build"() {
            when:
            run("askInt")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/runtime/os_netbsd_arm.go

    	mc.__gregs[_REG_R1] = uint32(uintptr(unsafe.Pointer(gp)))
    	mc.__gregs[_REG_R2] = uint32(fn)
    }
    
    func checkgoarm() {
    	// TODO(minux): FP checks like in os_linux_arm.go.
    
    	// osinit not called yet, so ncpu not set: must use getncpu directly.
    	if getncpu() > 1 && goarm < 7 {
    		print("runtime: this system has multiple CPUs and must use\n")
    		print("atomic synchronization instructions. Recompile using GOARM=7.\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top