Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for mask1b (0.27 sec)

  1. guava/src/com/google/common/collect/CompactHashMap.java

        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			expectEsimatedCost: func(c checker.CostEstimate) checker.CostEstimate { return c },
    			expectRuntimeCost:  func(c uint64) uint64 { return c },
    		},
    		{
    			ops: []string{".ip()", ".prefixLength()", ".masked()"},
    			// For most other operations, the cost is expected to be the base + 1.
    			expectEsimatedCost: func(c checker.CostEstimate) checker.CostEstimate {
    				return checker.CostEstimate{Min: c.Min + 1, Max: c.Max + 1}
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. src/runtime/mgcsweep.go

    //
    // Every potential sweeper must call begin() before they look
    // for work, and end() after they've finished sweeping.
    type activeSweep struct {
    	// state is divided into two parts.
    	//
    	// The top bit (masked by sweepDrainedMask) is a boolean
    	// value indicating whether all the sweep work has been
    	// drained from the queue.
    	//
    	// The rest of the bits are a counter, indicating the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/link.go

    			break
    		}
    	}
    }
    
    func (a *Attribute) ABI() ABI { return ABI(a.load() / attrABIBase) }
    func (a *Attribute) SetABI(abi ABI) {
    	const mask = 1 // Only one ABI bit for now.
    	for {
    		v0 := a.load()
    		v := (v0 &^ (mask * attrABIBase)) | Attribute(abi)*attrABIBase
    		if atomic.CompareAndSwapUint32((*uint32)(a), uint32(v0), uint32(v)) {
    			break
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    		bts[1] = 127
    		binary.BigEndian.PutUint64(bts[2:10], uint64(f.Header.Length))
    		n = 10
    
    	default:
    		return ws.ErrHeaderLengthUnexpected
    	}
    
    	if f.Header.Masked {
    		bts[1] |= bit0
    		n += copy(bts[n:], f.Header.Mask[:])
    	}
    
    	if _, err := w.Write(bts[:n]); err != nil {
    		return err
    	}
    
    	_, err := w.Write(f.Payload)
    	return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top