Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for mask16 (0.14 sec)

  1. src/unicode/utf8/utf8.go

    		return rune(p0&mask2)<<6 | rune(b1&maskx), 2
    	}
    	b2 := p[2]
    	if b2 < locb || hicb < b2 {
    		return RuneError, 1
    	}
    	if sz <= 3 {
    		return rune(p0&mask3)<<12 | rune(b1&maskx)<<6 | rune(b2&maskx), 3
    	}
    	b3 := p[3]
    	if b3 < locb || hicb < b3 {
    		return RuneError, 1
    	}
    	return rune(p0&mask4)<<18 | rune(b1&maskx)<<12 | rune(b2&maskx)<<6 | rune(b3&maskx), 4
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      public void testBase16() {
        testEncodingWithCasing(base16(), "", "");
        testEncodingWithCasing(base16(), "f", "66");
        testEncodingWithCasing(base16(), "fo", "666F");
        testEncodingWithCasing(base16(), "foo", "666F6F");
        testEncodingWithCasing(base16(), "foob", "666F6F62");
        testEncodingWithCasing(base16(), "fooba", "666F6F6261");
        testEncodingWithCasing(base16(), "foobar", "666F6F626172");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 24.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.io.BaseEncoding.base16;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Charsets;
    import com.google.common.collect.ImmutableList;
    import com.google.common.io.BaseEncoding;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

            result.assertNotOutput("task1")
            result.assertNotOutput("task2")
    
            when:
            run("task1")
    
            then:
            outputContains("Received :other")
            outputContains("Create :task1")
            outputContains("Configure :task1")
            outputContains("Configure again :task1")
            outputContains("Received :task1")
            result.assertNotOutput("task2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                    doLast { submitWorkItem("task1") }
                }
    
                task secondTask(type: MultipleWorkItemTask) {
                    doLast { submitWorkItem("task2") }
                }
    
                task allTasks {
                    dependsOn firstTask, secondTask
                }
            """
    
            blockingHttpServer.expectConcurrent("task1", "task2")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/sumdb/note/note.go

    // NewVerifier construct a new [Verifier] from an encoded verifier key.
    func NewVerifier(vkey string) (Verifier, error) {
    	name, vkey := chop(vkey, "+")
    	hash16, key64 := chop(vkey, "+")
    	hash, err1 := strconv.ParseUint(hash16, 16, 32)
    	key, err2 := base64.StdEncoding.DecodeString(key64)
    	if len(hash16) != 8 || err1 != nil || err2 != nil || !isValidName(name) || len(key) == 0 {
    		return nil, errVerifierID
    	}
    	if uint32(hash) != keyHash(name, key) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

     * limitations under the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Charsets.UTF_8;
    import static com.google.common.io.BaseEncoding.base16;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.Table;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top