Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 193 for elim (0.04 sec)

  1. src/net/rlimit_unix.go

    // there we will return a meaningful "too many open files" error.
    func concurrentThreadsLimit() int {
    	var rlim syscall.Rlimit
    	if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &rlim); err != nil {
    		return 500
    	}
    	r := rlim.Cur
    	if r > 500 {
    		r = 500
    	} else if r > 30 {
    		r -= 30
    	}
    	return int(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/select.go

    			init = append(init, typecheck.Stmt(r))
    		}
    
    		c = typecheck.ConvNop(c, types.Types[types.TUNSAFEPTR])
    		setField("c", c)
    		if !ir.IsBlank(elem) {
    			elem = typecheck.ConvNop(elem, types.Types[types.TUNSAFEPTR])
    			setField("elem", elem)
    		}
    
    		// TODO(mdempsky): There should be a cleaner way to
    		// handle this.
    		if base.Flag.Race {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. common/scripts/setup_env.sh

        # Target explicitly set
        :
    elif [[ ${LOCAL_ARCH} == x86_64 ]]; then
        TARGET_ARCH=amd64
    elif [[ ${LOCAL_ARCH} == armv8* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == arm64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == aarch64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == armv* ]]; then
        TARGET_ARCH=arm
    elif [[ ${LOCAL_ARCH} == s390x ]]; then
        TARGET_ARCH=s390x
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/StackTraceFilterTest.groovy

            spec.isSatisfiedBy(_) >> { StackTraceElement elem -> elem.methodName.size() > 10 }
    
            when:
            def filtered = filter.filter(trace)
    
            then:
            filtered.size() > 0
            filtered.size() < trace.size()
            filtered == trace.findAll { StackTraceElement elem -> elem.methodName.size() > 10 }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue35073a.go

    package main
    
    import (
    	"reflect"
    	"unsafe"
    )
    
    func main() {
    	n := 10
    	m := make(map[string]string)
    
    	_ = unsafe.Pointer(reflect.ValueOf(&n).Elem().UnsafeAddr())
    	_ = unsafe.Pointer(reflect.ValueOf(&m).Elem().Pointer())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:12:49 UTC 2023
    - 497 bytes
    - Viewed (0)
  6. src/html/template/context.go

    	case stateJSDqStr, stateJSSqStr, stateJSTmplLit, stateJSRegexp:
    		return true
    	}
    	return false
    }
    
    // delim is the delimiter that will end the current HTML attribute.
    type delim uint8
    
    //go:generate stringer -type delim
    
    const (
    	// delimNone occurs outside any attribute.
    	delimNone delim = iota
    	// delimDoubleQuote occurs when a double quote (") closes the attribute.
    	delimDoubleQuote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. src/runtime/checkptr.go

    import "unsafe"
    
    func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
    	// nil pointer is always suitably aligned (#47430).
    	if p == nil {
    		return
    	}
    
    	// Check that (*[n]elem)(p) is appropriately aligned.
    	// Note that we allow unaligned pointers if the types they point to contain
    	// no pointers themselves. See issue 37298.
    	// TODO(mdempsky): What about fieldAlign?
    	if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    	}
    
    	if rl.Max == rlimInf32 {
    		rlim.Max = rlimInf64
    	} else {
    		rlim.Max = uint64(rl.Max)
    	}
    	return
    }
    
    func (r *PtraceRegs) PC() uint32 { return r.Nip }
    
    func (r *PtraceRegs) SetPC(pc uint32) { r.Nip = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/path/filepath/path_plan9.go

    	return strings.Split(path, string(ListSeparator))
    }
    
    func abs(path string) (string, error) {
    	return unixAbs(path)
    }
    
    func join(elem []string) string {
    	// If there's a bug here, fix the logic in ./path_unix.go too.
    	for i, e := range elem {
    		if e != "" {
    			return Clean(strings.Join(elem[i:], string(Separator)))
    		}
    	}
    	return ""
    }
    
    func sameWord(a, b string) bool {
    	return a == b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 926 bytes
    - Viewed (0)
  10. src/reflect/benchmark_test.go

    	SliceAny     Value
    	MapStringAny Value
    }{
    	Bool:         ValueOf(new(bool)).Elem(),
    	String:       ValueOf(new(string)).Elem(),
    	Bytes:        ValueOf(new([]byte)).Elem(),
    	NamedBytes:   ValueOf(new(namedBytes)).Elem(),
    	BytesArray:   ValueOf(new([32]byte)).Elem(),
    	SliceAny:     ValueOf(new([]any)).Elem(),
    	MapStringAny: ValueOf(new(map[string]any)).Elem(),
    }
    
    var sinkAll struct {
    	RawBool   bool
    	RawString string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top