Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for mask1b (0.16 sec)

  1. src/vendor/golang.org/x/net/idna/trie13.0.0.go

    	if c&xorBit == 0 {
    		p := index
    		return append(b, mappings[mappingIndex[p]:mappingIndex[p+1]]...)
    	}
    	b = append(b, s...)
    	if c&inlineXOR == inlineXOR {
    		// TODO: support and handle two-byte inline masks
    		b[len(b)-1] ^= byte(index)
    	} else {
    		for p := len(b) - int(xorData[index]); p < len(b); p++ {
    			index++
    			b[p] ^= xorData[index]
    		}
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 872 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go

    		// Kubernetes <1.30>:
    		"ip", "family", "isUnspecified", "isLoopback", "isLinkLocalMulticast", "isLinkLocalUnicast", "isGlobalUnicast", "ip.isCanonical", "isIP", "cidr", "containsIP", "containsCIDR", "masked", "prefixLength", "isCIDR", "string",
    		// Kubernetes <1.??>:
    	)
    
    	// TODO: test celgo function lists
    
    	unexpected := functionNames.Difference(knownFunctions)
    	missing := knownFunctions.Difference(functionNames)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/compress/bzip2/bit_reader.go

    	//      0101101101001110
    	//        ^            ^
    	//        |------------|
    	//           br.bits (num valid bits)
    	//
    	// The next line right shifts the desired bits into the
    	// least-significant places and masks off anything above.
    	n = (br.n >> (br.bits - bits)) & ((1 << bits) - 1)
    	br.bits -= bits
    	return
    }
    
    func (br *bitReader) ReadBits(bits uint) (n int) {
    	n64 := br.ReadBits64(bits)
    	return int(n64)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. pkg/apis/networking/fuzzer/fuzzer.go

    		// generateRandomIP already panics if returns a not valid ip
    		panic(err)
    	}
    
    	n := 32
    	if is6 {
    		n = 128
    	}
    
    	bits := c.Rand.Intn(n)
    	prefix := netip.PrefixFrom(ip, bits)
    	return prefix.Masked().String()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/image/draw/clip_test.go

    	src0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	mask0 := image.NewRGBA(image.Rect(0, 0, 100, 100))
    	for _, c := range clipTests {
    		dst := dst0.SubImage(c.dr).(*image.RGBA)
    		src := src0.SubImage(c.sr).(*image.RGBA)
    		r, sp, mp := c.r, c.sp, c.mp
    		if c.nilMask {
    			clip(dst, &r, src, &sp, nil, nil)
    		} else {
    			clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    		return 1 << nUnaryExpr
    	case *ast.ValueSpec:
    		return 1 << nValueSpec
    	}
    	return 0
    }
    
    func maskOf(nodes []ast.Node) uint64 {
    	if nodes == nil {
    		return math.MaxUint64 // match all node types
    	}
    	var mask uint64
    	for _, n := range nodes {
    		mask |= typeOf(n)
    	}
    	return mask
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
      internal const val B0_MASK_OPCODE = 15
    
      /** Flag in the opcode which indicates a control frame. */
      internal const val OPCODE_FLAG_CONTROL = 8
    
      /**
       * Byte 1 flag for whether the payload data is masked.
       *
       * If this flag is set, the next four
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject project = new MavenProject(model);
    
            assertEquals("test-group", project.getGroupId(), "groupId proto-inheritance failed.");
            assertEquals("real-artifact", project.getArtifactId(), "artifactId is masked.");
            assertEquals("1000", project.getVersion(), "version proto-inheritance failed.");
    
            // draw the NPE.
            project.getId();
        }
    
        @Test
        void testEmptyConstructor() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            1 * loggingAdapter.getLifecycleLogLevel() >> AntMessagePriority.DEBUG
    
            and:
            level == AntMessagePriority.DEBUG
        }
    
        @Issue('GRADLE-3511')
        def 'Filename #filename is properly masked when adding it as #antType to an ant task'(String filename, antType) {
            given:
            def dirname = 'somedir$$with'
            def dirAndFile = "${dirname}/${filename}"
            project.file(dirname).mkdir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top