Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for sigblock (0.12 sec)

  1. src/runtime/os_linux_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build !mips && !mipsle && !mips64 && !mips64le && !s390x && !ppc64 && linux
    
    package runtime
    
    const (
    	_SS_DISABLE  = 2
    	_NSIG        = 65
    	_SIG_BLOCK   = 0
    	_SIG_UNBLOCK = 1
    	_SIG_SETMASK = 2
    )
    
    // It's hard to tease out exactly how big a Sigset is, but
    // rt_sigprocmask crashes if we get it wrong, so if binaries
    // are running, this is right.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 01:56:24 UTC 2022
    - 870 bytes
    - Viewed (0)
  2. src/runtime/os_linux_be64.go

    // The standard Linux sigset type on big-endian 64-bit machines.
    
    //go:build linux && (ppc64 || s390x)
    
    package runtime
    
    const (
    	_SS_DISABLE  = 2
    	_NSIG        = 65
    	_SIG_BLOCK   = 0
    	_SIG_UNBLOCK = 1
    	_SIG_SETMASK = 2
    )
    
    type sigset uint64
    
    var sigset_all = sigset(^uint64(0))
    
    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	if i > 64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 01:56:24 UTC 2022
    - 806 bytes
    - Viewed (0)
  3. src/runtime/os_linux_mipsx.go

    //go:nosplit
    func cputicks() int64 {
    	// nanotime() is a poor approximation of CPU ticks that is enough for the profiler.
    	return nanotime()
    }
    
    const (
    	_SS_DISABLE  = 2
    	_NSIG        = 128 + 1
    	_SIG_BLOCK   = 1
    	_SIG_UNBLOCK = 2
    	_SIG_SETMASK = 3
    )
    
    type sigset [4]uint32
    
    var sigset_all = sigset{^uint32(0), ^uint32(0), ^uint32(0), ^uint32(0)}
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 987 bytes
    - Viewed (0)
  4. cluster/addons/dns/nodelocaldns/README.md

    One way to enable connectivity from node-local-dns pods to clusterDNS ip is to use an ipBlock rule instead:
    
    ```
    spec:
      egress:
      - ports:
        - port: 53
          protocol: TCP
        - port: 53
          protocol: UDP
        to:
        - ipBlock:
            cidr: <well-known clusterIP for DNS>/32
      podSelector: {}
      policyTypes:
      - Ingress
      - Egress
    ```
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockPayload.java

    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    
    public abstract class BlockPayload {
        private Block block;
    
        public Block getBlock() {
            return block;
        }
    
        public void setBlock(Block block) {
            this.block = block;
        }
    
        public BlockPointer getPos() {
            return getBlock().getPos();
        }
    
        public BlockPointer getNextPos() {
            return getBlock().getNextPos();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. pkg/registry/networking/networkpolicy/storage/storage_test.go

    			object := obj.(*networking.NetworkPolicy)
    			object.Spec.Ingress = []networking.NetworkPolicyIngressRule{
    				{
    					From: []networking.NetworkPolicyPeer{
    						{
    							IPBlock: &networking.IPBlock{
    								CIDR:   "192.168.0.0/16",
    								Except: []string{"192.168.3.0/24", "192.168.4.0/24"},
    							},
    						},
    					},
    				},
    			}
    			return object
    		},
    		// invalid updateFunc
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcshared/testdata/main4.c

    		fprintf(stderr, "calling pthread_sigmask\n");
    	}
    
    	if (sigemptyset(&mask) < 0) {
    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGIO) < 0) {
    		die("sigaddset");
    	}
    	i = pthread_sigmask(SIG_BLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "pthread_sigmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		fprintf(stderr, "calling kill\n");
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    	if (verbose) {
    		printf("calling pthread_sigmask\n");
    	}
    
    	if (sigemptyset(&mask) < 0) {
    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGIO) < 0) {
    		die("sigaddset");
    	}
    	i = pthread_sigmask(SIG_BLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "pthread_sigmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		printf("calling kill\n");
    	}
    
    	if (kill(0, SIGIO) < 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/runtime/defs_aix_ppc64.go

    	_ITIMER_VIRTUAL = 0x1
    	_ITIMER_PROF    = 0x2
    
    	_O_RDONLY   = 0x0
    	_O_WRONLY   = 0x1
    	_O_NONBLOCK = 0x4
    	_O_CREAT    = 0x100
    	_O_TRUNC    = 0x200
    
    	_SS_DISABLE  = 0x2
    	_SI_USER     = 0x0
    	_SIG_BLOCK   = 0x0
    	_SIG_UNBLOCK = 0x1
    	_SIG_SETMASK = 0x2
    
    	_SA_SIGINFO = 0x100
    	_SA_RESTART = 0x8
    	_SA_ONSTACK = 0x1
    
    	_PTHREAD_CREATE_DETACHED = 0x1
    
    	__SC_PAGE_SIZE        = 0x30
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	Dsttime     int32
    }
    
    type Rusage struct {
    	Utime    Timeval
    	Stime    Timeval
    	Maxrss   int32
    	Ixrss    int32
    	Idrss    int32
    	Isrss    int32
    	Minflt   int32
    	Majflt   int32
    	Nswap    int32
    	Inblock  int32
    	Oublock  int32
    	Msgsnd   int32
    	Msgrcv   int32
    	Nsignals int32
    	Nvcsw    int32
    	Nivcsw   int32
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    type Pid_t int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top