Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for deltas (0.2 sec)

  1. pilot/pkg/xds/cds.go

    		return nil, model.DefaultXdsLogDetails, nil
    	}
    	clusters, logs := c.ConfigGenerator.BuildClusters(proxy, req)
    	return clusters, logs, nil
    }
    
    // GenerateDeltas for CDS currently only builds deltas when services change. todo implement changes for DestinationRule, etc
    func (c CdsGenerator) GenerateDeltas(proxy *model.Proxy, req *model.PushRequest,
    	w *model.WatchedResource,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 21:27:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

      }
    
      /** Returns a new bias. */
      private fun adapt(
        delta: Int,
        numpoints: Int,
        first: Boolean,
      ): Int {
        var delta =
          when {
            first -> delta / DAMP
            else -> delta / 2
          }
        delta += (delta / numpoints)
        var k = 0
        while (delta > ((BASE - TMIN) * TMAX) / 2) {
          delta /= (BASE - TMIN)
          k += BASE
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. releasenotes/notes/delta-xds-default.yaml

    issue:
      - 47949
    releaseNotes:
      - |
        **Enabled** [Delta xDS](https://www.envoyproxy.io/docs/envoy/latest/api-docs/xds_protocol#incremental-xds) by default. See upgrade notes for more information.
    upgradeNotes:
      - title: Delta xDS on by default
        content: |
          In previous versions, Istio used the "State of the world" xDS protocol to configure Envoy.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:43:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. pilot/pkg/xds/deltatest.go

    		// Both SotW and Delta did not respond, nothing to compare
    		return
    	}
    	newByName := slices.GroupUnique(sotwRes, (*discovery.Resource).GetName)
    	curByName := slices.GroupUnique(current, (*discovery.Resource).GetName)
    
    	watched := sets.New(w.ResourceNames...)
    
    	details := fmt.Sprintf("last:%v sotw:%v delta:%v-%v", len(current), len(sotwRes), len(deltaRes), len(deleted))
    	wantDeleted := sets.New[string]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/expvar/expvar.go

    }
    
    func (v *Float) appendJSON(b []byte) []byte {
    	return strconv.AppendFloat(b, math.Float64frombits(v.f.Load()), 'g', -1, 64)
    }
    
    // Add adds delta to v.
    func (v *Float) Add(delta float64) {
    	for {
    		cur := v.f.Load()
    		curVal := math.Float64frombits(cur)
    		nxtVal := curVal + delta
    		nxt := math.Float64bits(nxtVal)
    		if v.f.CompareAndSwap(cur, nxt) {
    			return
    		}
    	}
    }
    
    // Set sets v to value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            break;
                          case 5:
                            map.getAndAdd(key, delta);
                            threadSum += delta;
                            break;
                          case 6:
                            long oldValue = map.put(key, delta);
                            threadSum += delta - oldValue;
                            break;
                          case 7:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            break;
                          case 5:
                            map.getAndAdd(key, delta);
                            threadSum += delta;
                            break;
                          case 6:
                            long oldValue = map.put(key, delta);
                            threadSum += delta - oldValue;
                            break;
                          case 7:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_wasm.go

    //go:nosplit
    //go:noinline
    func Xadd(ptr *uint32, delta int32) uint32 {
    	new := *ptr + uint32(delta)
    	*ptr = new
    	return new
    }
    
    //go:nosplit
    //go:noinline
    func Xadd64(ptr *uint64, delta int64) uint64 {
    	new := *ptr + uint64(delta)
    	*ptr = new
    	return new
    }
    
    //go:nosplit
    //go:noinline
    func Xadduintptr(ptr *uintptr, delta uintptr) uintptr {
    	new := *ptr + delta
    	*ptr = new
    	return new
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/sync/waitgroup.go

    // See the WaitGroup example.
    func (wg *WaitGroup) Add(delta int) {
    	if race.Enabled {
    		if delta < 0 {
    			// Synchronize decrements with Wait.
    			race.ReleaseMerge(unsafe.Pointer(wg))
    		}
    		race.Disable()
    		defer race.Enable()
    	}
    	state := wg.state.Add(uint64(delta) << 32)
    	v := int32(state >> 32)
    	w := uint32(state)
    	if race.Enabled && delta > 0 && v == int32(delta) {
    		// The first increment must be synchronized with Wait.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/sync/atomic/type.go

    func (x *Int32) CompareAndSwap(old, new int32) (swapped bool) {
    	return CompareAndSwapInt32(&x.v, old, new)
    }
    
    // Add atomically adds delta to x and returns the new value.
    func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
    
    // And atomically performs a bitwise AND operation on x using the bitmask
    // provided as mask and returns the old value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top