Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for newValues (0.48 sec)

  1. pkg/kube/inject/watcher_test.go

    		valuesKey: valuesConfig,
    	})
    
    	var mu sync.Mutex
    	var newConfig *Config
    	var newValues string
    
    	client := kube.NewFakeClient()
    	w := NewConfigMapWatcher(client, namespace, cmName, configKey, valuesKey)
    	w.SetHandler(func(config *Config, values string) error {
    		mu.Lock()
    		defer mu.Unlock()
    		newConfig = config
    		newValues = values
    		return nil
    	})
    	stop := test.NewStop(t)
    	go w.Run(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/bootstrap/config.go

    		res[key] = val
    	}
    	return res, nil
    }
    
    func removeDuplicates(values []string) []string {
    	set := sets.New[string]()
    	newValues := make([]string, 0, len(values))
    	for _, v := range values {
    		if !set.InsertContains(v) {
    			newValues = append(newValues, v)
    		}
    	}
    	return newValues
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/net/http/request.go

    			copyValues(r.Form, r.PostForm)
    		}
    		var newValues url.Values
    		if r.URL != nil {
    			var e error
    			newValues, e = url.ParseQuery(r.URL.RawQuery)
    			if err == nil {
    				err = e
    			}
    		}
    		if newValues == nil {
    			newValues = make(url.Values)
    		}
    		if r.Form == nil {
    			r.Form = newValues
    		} else {
    			copyValues(r.Form, newValues)
    		}
    	}
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    		aux := &AuxNameOffset{n, sl.Off}
    		op, auxInt := ArgOpAndRegisterFor(reg, f.ABISelf)
    		v := f.newValueNoBlock(op, t, pos)
    		v.AuxInt = auxInt
    		v.Aux = aux
    		v.Args = nil
    		v.Block = f.Entry
    		newValues = append(newValues, v)
    		addToNV(v, sl)
    		f.setHome(v, &f.Config.registers[abiRegIndexToRegister(reg)])
    		return v
    	}
    
    	// Make a pass through the entry block looking for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/func.go

    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Aux = aux
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    // NewValue1 returns a new value in the block with one argument and zero aux values.
    func (b *Block) NewValue1(pos src.XPos, op Op, t *types.Type, arg *Value) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/ssa.go

    			op := s.ssaOp(ir.OEQ, pt)
    			r := s.newValueOrSfCall2(op, types.Types[types.TBOOL], s.newValue1(ssa.OpComplexReal, pt, a), s.newValue1(ssa.OpComplexReal, pt, b))
    			i := s.newValueOrSfCall2(op, types.Types[types.TBOOL], s.newValue1(ssa.OpComplexImag, pt, a), s.newValue1(ssa.OpComplexImag, pt, b))
    			c := s.newValue2(ssa.OpAndB, types.Types[types.TBOOL], r, i)
    			switch n.Op() {
    			case ir.OEQ:
    				return c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritegeneric.go

    		}
    		v.reset(OpTrunc32to16)
    		v0 := b.NewValue0(v.Pos, OpRsh32Ux64, typ.UInt32)
    		v1 := b.NewValue0(v.Pos, OpMul32, typ.UInt32)
    		v2 := b.NewValue0(v.Pos, OpConst32, typ.UInt32)
    		v2.AuxInt = int32ToAuxInt(int32(1<<15 + (umagic16(c).m+1)/2))
    		v3 := b.NewValue0(v.Pos, OpRsh32Ux64, typ.UInt32)
    		v4 := b.NewValue0(v.Pos, OpZeroExt16to32, typ.UInt32)
    		v4.AddArg(x)
    		v5 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AuxInt = int32ToAuxInt(2)
    		v0 := b.NewValue0(v.Pos, OpPPC64SLD, t)
    		v1 := b.NewValue0(v.Pos, OpPPC64MOVHZreg, typ.Int64)
    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteARM64.go

    			if !(isPowerOfTwo64(c+1) && int32(c) >= 7) {
    				continue
    			}
    			v.reset(OpARM64MOVWUreg)
    			v0 := b.NewValue0(v.Pos, OpARM64NEG, x.Type)
    			v1 := b.NewValue0(v.Pos, OpARM64ADDshiftLL, x.Type)
    			v1.AuxInt = int64ToAuxInt(log64(c + 1))
    			v2 := b.NewValue0(v.Pos, OpARM64NEG, x.Type)
    			v2.AddArg(x)
    			v1.AddArg2(v2, x)
    			v0.AddArg(v1)
    			v.AddArg(v0)
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileIntegrityViolationSuppressingObjectHolderDecorator.java

            try {
                return work.get();
            } catch (FileIntegrityViolationException e) {
                T newValue = updateAction.update(null);
                set(newValue);
                return newValue;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top