Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for setBig (0.15 sec)

  1. src/runtime/os_openbsd.go

    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    	sa_sigaction uintptr
    	sa_mask      uint32
    	sa_flags     int32
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = uint32(sigset_all)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/alg.go

    var algPriority = [ASPECIAL + 1]int8{ASPECIAL: 1, ANOEQ: 2, ANOALG: 3, AMEM: -1}
    
    // setAlg sets the algorithm type of t to a, if it is of higher
    // priority to the current algorithm type.
    func (t *Type) setAlg(a AlgKind) {
    	if t.alg == AUNK {
    		base.Fatalf("setAlg(%v,%s) starting with unknown priority", t, a)
    	}
    	if algPriority[a] > algPriority[t.alg] {
    		t.alg = a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/GradleBuild.java

         *
         * @param dir The project directory. Should not be null.
         * @since 4.0
         */
        public void setDir(File dir) {
            setDir((Object) dir);
        }
    
        /**
         * Sets the project directory for the build.
         *
         * @param dir The project directory. Should not be null.
         */
        public void setDir(Object dir) {
            getStartParameter().setCurrentDir(getProject().file(dir));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/sparsemap.go

    		s.dense[i].val = v
    		return
    	}
    	s.dense = append(s.dense, sparseEntry{k, v})
    	s.sparse[k] = int32(len(s.dense)) - 1
    }
    
    // setBit sets the v'th bit of k's value, where 0 <= v < 32
    func (s *sparseMap) setBit(k ID, v uint) {
    	if v >= 32 {
    		panic("bit index too large.")
    	}
    	i := s.sparse[k]
    	if i < int32(len(s.dense)) && s.dense[i].key == k {
    		s.dense[i].val |= 1 << v
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:06 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  5. src/runtime/os_aix.go

    }
    
    /* SIGNAL */
    
    const (
    	_NSIG = 256
    )
    
    // sigtramp is a function descriptor to _sigtramp defined in assembly
    var sigtramp funcDescriptor
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/runtime/os_dragonfly.go

    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    	sa_sigaction uintptr
    	sa_flags     int32
    	sa_mask      sigset
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa sigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = sigset_all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/setgid_linux.go

    // Test that setgid does not hang on Linux.
    // See https://golang.org/issue/3871 for details.
    
    package cgotest
    
    /*
    #include <sys/types.h>
    #include <unistd.h>
    */
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func runTestSetgid() bool {
    	c := make(chan bool)
    	go func() {
    		C.setgid(0)
    		c <- true
    	}()
    	select {
    	case <-c:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 843 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDU	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDU	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    	SYNC
    	MOVW	R3, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMP	R3, $0
    	// Hint that we're in a spin loop
    	OR	R1, R1, R1
    	BNE	loop
    	ISYNC
    
    	// Restore stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  10. src/math/big/bits_test.go

    			min = b
    		}
    	}
    
    	// create bit pattern
    	x := NewInt(0)
    	for _, b := range bits {
    		badj := b - min
    		// propagate carry if necessary
    		for x.Bit(badj) != 0 {
    			x.SetBit(x, badj, 0)
    			badj++
    		}
    		x.SetBit(x, badj, 1)
    	}
    
    	// create corresponding float
    	z := new(Float).SetInt(x) // normalized
    	if e := int64(z.exp) + int64(min); MinExp <= e && e <= MaxExp {
    		z.exp = int32(e)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top