Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 259 for mask16 (0.27 sec)

  1. src/net/netip/netip.go

    	ip, err := ParsePrefix(s)
    	if err != nil {
    		panic(err)
    	}
    	return ip
    }
    
    // Masked returns p in its canonical form, with all but the high
    // p.Bits() bits of p.Addr() masked off.
    //
    // If p is zero or otherwise invalid, Masked returns the zero [Prefix].
    func (p Prefix) Masked() Prefix {
    	m, _ := p.ip.Prefix(p.Bits())
    	return m
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  2. pkg/util/iptree/iptree.go

    	if prefix.Addr().Is6() {
    		n = t.rootV6
    	}
    	bitPosition := 0
    	// mask the address for sanity
    	address := prefix.Masked().Addr()
    	// we can't check longer than the request mask
    	mask := prefix.Bits()
    	// walk the network bits of the prefix
    	for bitPosition < mask {
    		// Look for a child checking the bit position after the mask
    		n = n.child[getBitFromAddr(address, bitPosition+1)]
    		if n == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

       */
      public static BaseEncoding base32Hex() {
        return BASE32_HEX;
      }
    
      private static final BaseEncoding BASE16 = new Base16Encoding("base16()", "0123456789ABCDEF");
    
      /**
       * The "base16" encoding specified by <a href="http://tools.ietf.org/html/rfc4648#section-8">RFC
       * 4648 section 8</a>, Base 16 Encoding. (This is the same as the base 16 encoding from <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy

        def "dependencies are union of dependencies of source trees"() {
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def tree1 = Stub(FileTreeInternal)
            def tree2 = Stub(FileTreeInternal)
    
            given:
            tree1.visitDependencies(_) >> { TaskDependencyResolveContext context ->
                context.add(task1)
                context.add(task2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/testdata/framefuzz.test

        inlining_test.go:102: not in expected set, but also inlinable: "Addr.MarshalBinary"
        inlining_test.go:102: not in expected set, but also inlinable: "bePutUint64"
        inlining_test.go:102: not in expected set, but also inlinable: "mask6"
        inlining_test.go:102: not in expected set, but also inlinable: "AddrPort.isZero"
        inlining_test.go:102: not in expected set, but also inlinable: "stringsLastIndexByte"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    	// features seem to contribute similar slowdowns (~1.4x each).
    
    	mask := maskOf(types)
    	for i := 0; i < len(in.events); {
    		ev := in.events[i]
    		if ev.index > i {
    			// push
    			if ev.typ&mask != 0 {
    				f(ev.node)
    			}
    			pop := ev.index
    			if in.events[pop].typ&mask == 0 {
    				// Subtrees do not contain types: skip them and pop.
    				i = pop + 1
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/runtime/memclr_arm64.s

    tail_maybe_long:
    	CMP	$64, R1
    	BHS	no_zva
    
    tail63:
    	ANDS	$48, R1, R3
    	BEQ	last16
    	CMPW	$32, R3
    	BEQ	last48
    	BLT	last32
    	STP.P	(ZR, ZR), 16(R0)
    last48:
    	STP.P	(ZR, ZR), 16(R0)
    last32:
    	STP.P	(ZR, ZR), 16(R0)
    	// The last store length is at most 16, so it is safe to use
    	// stp to write last 16 bytes
    last16:
    	ANDS	$15, R1, R1
    	CBZ	R1, last_end
    	ADD	R1, R0, R0
    	STP	(ZR, ZR), -16(R0)
    last_end:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. pkg/securitycontext/util.go

    )
    
    // ConvertToRuntimeMaskedPaths converts the ProcMountType to the specified or default
    // masked paths.
    func ConvertToRuntimeMaskedPaths(opt *v1.ProcMountType) []string {
    	if opt != nil && *opt == v1.UnmaskedProcMount {
    		// Unmasked proc mount should have no paths set as masked.
    		return []string{}
    	}
    
    	// Otherwise, add the default masked paths to the runtime security context.
    	return defaultMaskedPaths
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 15 07:28:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. src/math/bits/bits.go

    // half returned in lo.
    //
    // This function's execution time does not depend on the inputs.
    func Mul64(x, y uint64) (hi, lo uint64) {
    	const mask32 = 1<<32 - 1
    	x0 := x & mask32
    	x1 := x >> 32
    	y0 := y & mask32
    	y1 := y >> 32
    	w0 := x0 * y0
    	t := x1*y0 + w0>>32
    	w1 := t & mask32
    	w2 := t >> 32
    	w1 += x0 * y1
    	hi = x1*y1 + w2 + w1>>32
    	lo = x * y
    	return
    }
    
    // --- Full-width divide ---
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  10. src/runtime/gcinfo_test.go

    		// may be larger than we expect.
    		return
    	}
    	t.Errorf("bad GC program for %v:\nwant %+v\ngot  %+v", name, mask0, mask)
    }
    
    func trimDead(mask []byte) []byte {
    	for len(mask) > 0 && mask[len(mask)-1] == typeScalar {
    		mask = mask[:len(mask)-1]
    	}
    	return mask
    }
    
    var infoPtr = []byte{typePointer}
    
    type Ptr struct {
    	*byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top