Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for newValue3 (0.17 sec)

  1. src/test/java/org/codelibs/fess/it/admin/LabelTypeTests.java

            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("value", "newValue");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/unique/handle.go

    	// the first one we make around, we can avoid generating
    	// more than one per racing thread.
    	var (
    		toInsert     *T // Keep this around to keep it alive.
    		toInsertWeak weak.Pointer[T]
    	)
    	newValue := func() weak.Pointer[T] {
    		if toInsert == nil {
    			toInsert = new(T)
    			*toInsert = clone(value, &m.cloneSeq)
    			toInsertWeak = weak.Make(toInsert)
    		}
    		return toInsertWeak
    	}
    	var ptr *T
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedModelValue.java

        T update(Function<T, T> updateFunction);
    
        /**
         * Sets the current value.
         *
         * <p>The calling thread must own the mutable state from which the value is calculated.</p>
         */
        void set(T newValue);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/mdo/java/WrapperProperties.java

            return writeOperation(p -> p.remove(key, value));
        }
    
        @Override
        public synchronized boolean replace(Object key, Object oldValue, Object newValue) {
            return writeOperation(p -> p.replace(key, oldValue, newValue));
        }
    
        @Override
        public synchronized Object replace(Object key, Object value) {
            return writeOperation(p -> p.replace(key, value));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/phiopt.go

    	default:
    		return
    	}
    
    	if reverse == 1 {
    		negate = !negate
    	}
    
    	a := b0.Controls[0]
    	if negate {
    		a = v.Block.NewValue1(v.Pos, OpNot, a.Type, a)
    	}
    	v.AddArg(a)
    
    	cvt := v.Block.NewValue1(v.Pos, OpCvtBoolToUint8, v.Block.Func.Config.Types.UInt8, a)
    	switch v.Type.Size() {
    	case 1:
    		v.reset(OpCopy)
    	case 2:
    		v.reset(OpZeroExt8to16)
    	case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMinimalDependencyVariant.java

        protected void validateMutation() {
            throw new UnsupportedOperationException("Minimal dependencies are immutable.");
        }
    
        @Override
        protected void validateMutation(Object currentValue, Object newValue) {
            validateMutation();
        }
    
        @Override
        public void mutateAttributes(AttributeContainer attributes) {
            attributesMutator.execute(attributes);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_nullTreatedAsAbsent() {
        initMapWithNullValue();
        assertEquals(
            "computeIfAbsent(presentAssignedToNull, function) should return newValue",
            getValueForNullKey(),
            getMap()
                .computeIfAbsent(
                    getKeyForNullValue(),
                    k -> {
                      assertEquals(getKeyForNullValue(), k);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/fuse_comparisons.go

    		// significantly so we shouldn't be overly conservative.
    		if !canSpeculativelyExecute(b) {
    			return false
    		}
    
    		// Logically combine the control values for p and b.
    		v := b.NewValue0(bc.Pos, op, bc.Type)
    		v.AddArg(pc)
    		v.AddArg(bc)
    
    		// Set the combined control value as the control value for b.
    		b.SetControl(v)
    
    		// Modify p so that it jumps directly to b.
    		p.removeEdge(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. pkg/proto/merge/merge.go

    	// Merge semantics replaces, rather than merges into existing entries.
    	src.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
    		switch {
    		case fd.Message() != nil:
    			dstv := dst.NewValue()
    			o.mergeMessage(dstv.Message(), v.Message())
    			dst.Set(k, dstv)
    		case fd.Kind() == protoreflect.BytesKind:
    			dst.Set(k, o.cloneBytes(v))
    		default:
    			dst.Set(k, v)
    		}
    		return true
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 17:31:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

                    }
                    throw MissingPropertyException(propertyName)
                }
                scriptReferenced()
            }
    
            override fun setProperty(propertyName: String, newValue: Any?) {
                // See above for why this check happens
                if (targetMetadata.hasProperty(null, propertyName) == null) {
                    throw MissingPropertyException(propertyName)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top