Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,703 for mass (0.04 sec)

  1. src/crypto/cipher/gcm.go

    	var mask [gcmBlockSize]byte
    
    	for len(in) >= gcmBlockSize {
    		g.cipher.Encrypt(mask[:], counter[:])
    		gcmInc32(counter)
    
    		subtle.XORBytes(out, in, mask[:])
    		out = out[gcmBlockSize:]
    		in = in[gcmBlockSize:]
    	}
    
    	if len(in) > 0 {
    		g.cipher.Encrypt(mask[:], counter[:])
    		gcmInc32(counter)
    		subtle.XORBytes(out, in, mask[:])
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashing.java

      static int getHashPrefix(int value, int mask) {
        return value & ~mask;
      }
    
      /** Returns the index, or 0 if the entry is "null". */
      static int getNext(int entry, int mask) {
        return entry & mask;
      }
    
      /** Returns a new value combining the prefix and suffix using the given mask. */
      static int maskCombine(int prefix, int suffix, int mask) {
        return (prefix & ~mask) | (suffix & mask);
      }
    
      static int remove(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/testdata/props/acrosscall.go

    // <endcallsites>
    // <endfuncpreamble>
    func T_feeds_if_via_call(x int) {
    	feedsif(x)
    }
    
    // acrosscall.go T_feeds_if_via_call_conditional 69 0 1
    // ParamFlags
    //   0 ParamMayFeedIfOrSwitch
    // <endpropsdump>
    // {"Flags":0,"ParamFlags":[64],"ResultFlags":null}
    // callsite: acrosscall.go:71:10|0 flagstr "" flagval 0 score 8 mask 0 maskstr ""
    // <endcallsites>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. pkg/util/iptree/iptree.go

    		max = l
    	}
    
    	mask := 0
    	for i := range bytesA {
    		xor := bytesA[i] ^ bytesB[i]
    		if xor == 0 {
    			bytes[i] = bytesA[i]
    			mask += 8
    
    		} else {
    			pos := bits.LeadingZeros8(xor)
    			mask += pos
    			// mask off the non leading zeros
    			bytes[i] = bytesA[i] & (^uint8(0) << (8 - pos))
    			break
    		}
    	}
    	if mask > max {
    		mask = max
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite_test.go

    	}
    
    	for i, v := range tests {
    		result := encodePPC64RotateMask(v.rotate, int64(v.mask), v.nbits)
    		if result != v.encoded {
    			t.Errorf("encodePPC64RotateMask(%d,0x%x,%d) = 0x%x, expected 0x%x", v.rotate, v.mask, v.nbits, result, v.encoded)
    		}
    		rotate, mb, me, mask := DecodePPC64RotateMask(result)
    		if rotate != v.rotate || mb != v.mb || me != v.me || mask != v.mask {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 21:57:02 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  6. internal/pubsub/pubsub.go

    	ps.subs = append(ps.subs, sub)
    
    	// We hold a lock, so we are safe to update
    	combined := Mask(atomic.LoadUint64(&ps.types))
    	combined.Merge(Mask(mask.Mask()))
    	atomic.StoreUint64(&ps.types, uint64(combined))
    
    	go func() {
    		<-doneCh
    
    		ps.Lock()
    		defer ps.Unlock()
    		var remainTypes Mask
    		for i, s := range ps.subs {
    			if s == sub {
    				ps.subs = append(ps.subs[:i], ps.subs[i+1:]...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. pkg/proxy/util/nodeport_addresses_test.go

    						&net.IPNet{IP: netutils.ParseIPSloppy("1.2.3.4"), Mask: net.CIDRMask(30, 32)},
    						&net.IPNet{IP: netutils.ParseIPSloppy("2001:db8::1"), Mask: net.CIDRMask(64, 128)},
    					},
    				},
    				{
    					itf: net.Interface{Index: 1, MTU: 0, Name: "lo", HardwareAddr: nil, Flags: 0},
    					addrs: []net.Addr{
    						&net.IPNet{IP: netutils.ParseIPSloppy("127.0.0.1"), Mask: net.CIDRMask(8, 32)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/bitset.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ir
    
    type bitset8 uint8
    
    func (f *bitset8) set(mask uint8, b bool) {
    	if b {
    		*(*uint8)(f) |= mask
    	} else {
    		*(*uint8)(f) &^= mask
    	}
    }
    
    func (f bitset8) get2(shift uint8) uint8 {
    	return uint8(f>>shift) & 3
    }
    
    // set2 sets two bits in f using the bottom two bits of b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:03:56 UTC 2022
    - 734 bytes
    - Viewed (0)
  9. src/runtime/os_linux_be64.go

    //go:nosplit
    //go:nowritebarrierrec
    func sigaddset(mask *sigset, i int) {
    	if i > 64 {
    		throw("unexpected signal greater than 64")
    	}
    	*mask |= 1 << (uint(i) - 1)
    }
    
    func sigdelset(mask *sigset, i int) {
    	if i > 64 {
    		throw("unexpected signal greater than 64")
    	}
    	*mask &^= 1 << (uint(i) - 1)
    }
    
    //go:nosplit
    func sigfillset(mask *uint64) {
    	*mask = ^uint64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 01:56:24 UTC 2022
    - 806 bytes
    - Viewed (0)
  10. src/maps/example_test.go

    // license that can be found in the LICENSE file.
    
    package maps_test
    
    import (
    	"fmt"
    	"maps"
    	"strings"
    )
    
    func ExampleClone() {
    	m1 := map[string]int{
    		"key": 1,
    	}
    	m2 := maps.Clone(m1)
    	m2["key"] = 100
    	fmt.Println(m1["key"])
    	fmt.Println(m2["key"])
    
    	m3 := map[string][]int{
    		"key": {1, 2, 3},
    	}
    	m4 := maps.Clone(m3)
    	fmt.Println(m4["key"][0])
    	m4["key"][0] = 100
    	fmt.Println(m3["key"][0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:21:56 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top