Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 602 for mask1 (0.11 sec)

  1. src/net/interface_solaris.go

    	var ifat []Addr
    	for _, a := range as {
    		var ip IP
    		var mask IPMask
    		switch a := a.(type) {
    		case *lif.Inet4Addr:
    			ip = IPv4(a.IP[0], a.IP[1], a.IP[2], a.IP[3])
    			mask = CIDRMask(a.PrefixLen, 8*IPv4len)
    		case *lif.Inet6Addr:
    			ip = make(IP, IPv6len)
    			copy(ip, a.IP[:])
    			mask = CIDRMask(a.PrefixLen, 8*IPv6len)
    		}
    		ifat = append(ifat, &IPNet{IP: ip, Mask: mask})
    	}
    	return ifat, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    static void segvHandler(int signo, siginfo_t* info, void* ctxt) {
    	sigset_t mask;
    	int i;
    
    	// Call an arbitrary function that requires the stack to be properly aligned.
    	callWithVarargs("dummy arg", 3.1415);
    
    	if (sigemptyset(&mask) < 0) {
    		die("sigemptyset");
    	}
    	if (sigaddset(&mask, SIGSEGV) < 0) {
    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 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)
  3. src/image/draw/draw_test.go

    	// Since golden is a newly allocated image, we don't have to check if the
    	// input source and mask images and the output golden image overlap.
    	b := dst.Bounds()
    	sb := src.Bounds()
    	mb := image.Rect(-1e9, -1e9, 1e9, 1e9)
    	if mask != nil {
    		mb = mask.Bounds()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderFactoryTest.groovy

        def "zip tracks task dependencies"() {
            def task1 = Stub(Task)
            def a = withProducer(Integer, task1, 5)
            def task2 = Stub(Task)
            def b = withProducer(String, task2, "Hello")
    
            when:
            def zipped = providerFactory.zip(a, b) { i, s -> s.length() == i } as ProviderInternal<Boolean>
    
            then:
            assertHasProducer(zipped, task1, task2)
            zipped.get() == true
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/runtime/os_freebsd.go

    	if maskSize < goarch.PtrSize {
    		maskSize = goarch.PtrSize
    	}
    	if maskSize > len(mask) {
    		maskSize = len(mask)
    	}
    
    	if cpuset_getaffinity(_CPU_LEVEL_WHICH, _CPU_WHICH_PID, _CPU_CURRENT_PID,
    		maskSize, (*byte)(unsafe.Pointer(&mask[0]))) != 0 {
    		return 1
    	}
    	n := int32(0)
    	for _, v := range mask[:maskSize] {
    		for v != 0 {
    			n += int32(v & 1)
    			v >>= 1
    		}
    	}
    	if n == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        TYPE_DISALLOWED -> TYPE_DISALLOWED
    
        else -> error("unexpected type: $type")
      }
    }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java

                @Override
                public int compare(TaskDetails task1, TaskDetails task2) {
                    int diff = STRING_COMPARATOR.compare(task1.getPath().getName(), task2.getPath().getName());
                    if (diff != 0) {
                        return diff;
                    }
                    Path parent1 = task1.getPath().getParent();
                    Path parent2 = task2.getPath().getParent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 08 21:50:18 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. src/math/bits.go

    func IsNaN(f float64) (is bool) {
    	// IEEE 754 says that only NaNs satisfy f != f.
    	// To avoid the floating-point hardware, could use:
    	//	x := Float64bits(f);
    	//	return uint32(x>>shift)&mask == mask && x != uvinf && x != uvneginf
    	return f != f
    }
    
    // IsInf reports whether f is an infinity, according to sign.
    // If sign > 0, IsInf reports whether f is positive infinity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. internal/event/event.go

    	S3                Metadata          `json:"s3"`
    	Source            Source            `json:"source"`
    	Type              madmin.TraceType  `json:"-"`
    }
    
    // Mask returns the type as mask.
    func (e Event) Mask() uint64 {
    	return e.EventName.Mask()
    }
    
    // Log represents event information for some event targets.
    type Log struct {
    	EventName Name
    	Key       string
    	Records   []Event
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/regalloc.go

    }
    
    // allocReg chooses a register from the set of registers in mask.
    // If there is no unused register, a Value will be kicked out of
    // a register to make room.
    func (s *regAllocState) allocReg(mask regMask, v *Value) register {
    	if v.OnWasmStack {
    		return noRegister
    	}
    
    	mask &= s.allocatable
    	mask &^= s.nospill
    	if mask == 0 {
    		s.f.Fatalf("no register available for %s", v.LongString())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top