Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for appendAll (0.11 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionPropertyInternal.java

         * </p>
         *
         * @param elements The elements to add
         */
        @Incubating
        @SuppressWarnings("unchecked")
        // TODO Use @SafeVarargs and make method final
        void appendAll(T... elements);
    
        /**
         * Adds zero or more elements to the property value.
         *
         * <p>The given iterable will be queried when the value of this property is queried.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:32:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            property.explicit
        }
    
        def "can add to explicit value with append"() {
            given:
            property.set([])
            property.appendAll(Providers.of(["1", "2"]))
            property.appendAll(Providers.of(["3", "4"]))
    
            expect:
            assertValueIs toImmutable(["1", "2", "3", "4"])
            property.explicit
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

        @SuppressWarnings("varargs")
        @SafeVarargs
        public final void appendAll(T... elements) {
            withActualValue(it -> it.addAll(elements));
        }
    
        @Override
        public void appendAll(Iterable<? extends T> elements) {
            withActualValue(it -> it.addAll(elements));
        }
    
        @Override
        public void appendAll(Provider<? extends Iterable<? extends T>> provider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

            objectFactory().listProperty(T::class.java).apply {
                if (values.isNotEmpty()) {
                    uncheckedNonnullCast<CollectionPropertyInternal<T, Collection<T>>>(this).appendAll(*values)
                }
            }
    
        private
        inline fun <reified T : Any> propertyOf(value: T) =
            objectFactory().property(T::class.java).apply {
                set(value)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/ACE.java

            StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, this.sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(this.access, 8)).append(' ');
            sb.append(isInherited() ? "Inherited " : "Direct    ");
            appendCol(sb, getApplyToText(), 34);
            return sb.toString();
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ACE.java

            StringBuffer sb = new StringBuffer();
            sb.append( isAllow() ? "Allow " : "Deny  " );
            appendCol(sb, sid.toDisplayString(), 25);
            sb.append( " 0x" ).append( Hexdump.toHexString( access, 8 )).append(' ');
            sb.append(isInherited() ? "Inherited " : "Direct    ");
            appendCol(sb, getApplyToText(), 34);
            return sb.toString();
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  7. cmd/storage-rest-common_gen.go

    	// string "u"
    	o = append(o, 0x82, 0xa1, 0x75)
    	if z.Update == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.Update.MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Update")
    			return
    		}
    	}
    	// string "f"
    	o = append(o, 0xa1, 0x66)
    	if z.Final == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.Final.MarshalMsg(o)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types_gen.go

    	// string "Disable"
    	o = append(o, 0x86, 0xa7, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65)
    	if z.Disable == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBool(o, *z.Disable)
    	}
    	// string "Batch"
    	o = append(o, 0xa5, 0x42, 0x61, 0x74, 0x63, 0x68)
    	if z.Batch == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendInt(o, *z.Batch)
    	}
    	// string "InMemory"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  9. internal/grid/types.go

    	return bts, nil
    }
    
    // MarshalMsg appends the bytes representation of b to the provided byte slice.
    func (m *MSS) MarshalMsg(bytes []byte) (o []byte, err error) {
    	if m == nil || *m == nil {
    		return msgp.AppendNil(bytes), nil
    	}
    	o = msgp.AppendMapHeader(bytes, uint32(len(*m)))
    	for za0001, za0002 := range *m {
    		o = msgp.AppendString(o, za0001)
    		o = msgp.AppendString(o, za0002)
    	}
    	return o, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 01 23:42:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. cmd/batch-handlers_gen.go

    	if z.Replicate == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.Replicate.MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Replicate")
    			return
    		}
    	}
    	// string "KeyRotate"
    	o = append(o, 0xa9, 0x4b, 0x65, 0x79, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65)
    	if z.KeyRotate == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.KeyRotate.MarshalMsg(o)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top