Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 602 for mask1 (0.09 sec)

  1. cmd/kube-controller-manager/app/core.go

    	if maskConfigured {
    		// original mask flag is still the main reference.
    		if maskV4Configured || maskV6Configured {
    			return nil, errors.New("usage of --node-cidr-mask-size-ipv4 and --node-cidr-mask-size-ipv6 is not allowed if --node-cidr-mask-size is set. For dual-stack clusters please unset it and use IPFamily specific flags")
    		}
    
    		mask := int(cfg.NodeCIDRMaskSize)
    		return sortedSizes(mask, mask), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy

            Task task1 = task(':task1')
            Task task2 = task(':task2')
            ResultHandlerVersion1<Void> adaptedHandler
            ResultHandler<Void> handler = Mock()
            OutputStream stdout = Stub()
            OutputStream stderr = Stub()
    
            when:
            launcher.standardOutput = stdout
            launcher.standardError = stderr
            launcher.forTasks(task1, task2)
            launcher.run(handler)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/affinity_linux.go

    // CPUSet represents a CPU affinity mask.
    type CPUSet [cpuSetSize]cpuMask
    
    func schedAffinity(trap uintptr, pid int, set *CPUSet) error {
    	_, _, e := RawSyscall(trap, uintptr(pid), uintptr(unsafe.Sizeof(*set)), uintptr(unsafe.Pointer(set)))
    	if e != 0 {
    		return errnoErr(e)
    	}
    	return nil
    }
    
    // SchedGetaffinity gets the CPU affinity mask of the thread specified by pid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/ProgressLogEventGeneratorTest.groovy

            given:
            def firstStart = startWithHeader("task1")
            def secondStart = startWithHeader("task2")
            def secondProgress = progress("task2-progress")
            def secondComplete = complete("task2-done")
            def firstComplete = complete("task1-done")
            when:
            generator.onOutput(firstStart)
            generator.onOutput(secondStart)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/runtime/iface.go

    	// Implemented using quadratic probing.
    	// Probe sequence is h(i) = h0 + i*(i+1)/2 mod 2^k.
    	// We're guaranteed to hit all table entries using this probe sequence.
    	mask := t.size - 1
    	h := itabHashFunc(inter, typ) & mask
    	for i := uintptr(1); ; i++ {
    		p := (**itab)(add(unsafe.Pointer(&t.entries), h*goarch.PtrSize))
    		// Use atomic read here so if we see m != nil, we also see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. cmd/xl-storage_unix_test.go

    import (
    	"context"
    	"os"
    	"path"
    	"syscall"
    	"testing"
    )
    
    // Based on `man getumask` a vaporware GNU extension to glibc.
    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/topologymanager/policy_single_numa_node_test.go

    	}{
    		{
    			name:              "filter empty resources",
    			allResources:      [][]TopologyHint{},
    			expectedResources: [][]TopologyHint(nil),
    		},
    		{
    			name: "filter hints with nil socket mask 1/2",
    			allResources: [][]TopologyHint{
    				{
    					{NUMANodeAffinity: nil, Preferred: false},
    				},
    				{
    					{NUMANodeAffinity: nil, Preferred: true},
    				},
    			},
    			expectedResources: [][]TopologyHint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. src/go/doc/comment/parse.go

    	// and this function will return false.
    	const mask = 0 |
    		1<<'.' |
    		1<<',' |
    		1<<':' |
    		1<<';' |
    		1<<'?' |
    		1<<'!'
    
    	return ((uint64(1)<<c)&(mask&(1<<64-1)) |
    		(uint64(1)<<(c-64))&(mask>>64)) != 0
    }
    
    // isPath reports whether c is a (non-punctuation) path byte.
    func isPath(c byte) bool {
    	// mask is a 128-bit bitmap with 1s for allowed bytes,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    import (
    	"encoding/binary"
    	"fmt"
    	"log"
    )
    
    const debugDecode = false
    
    const prefixOpcode = 1
    
    // instFormat is a decoding rule for one specific instruction form.
    // an instruction ins matches the rule if ins&Mask == Value
    // DontCare bits should be zero, but the machine might not reject
    // ones in those bits, they are mainly reserved for future expansion
    // of the instruction set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. src/hash/crc32/gen_const_ppc64le.go

    	var mod, mask, high, div uint64
    
    	if n < deg {
    		div = 0
    		return poly, div
    	}
    	mask = 1<<deg - 1
    	poly &= mask
    	mod = poly
    	div = 1
    	deg--
    	n--
    	for n > deg {
    		high = (mod >> deg) & 1
    		div = (div << 1) | high
    		mod <<= 1
    		if high != 0 {
    			mod ^= poly
    		}
    		n--
    	}
    	return mod & mask, div
    }
    
    func main() {
    	w := new(bytes.Buffer)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top