Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for mytype (0.1 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

                import org.gradle.kotlin.dsl.assign
    
                data class MyType(val property: Property<String>)
    
                class MyPlugin : Plugin<Project> {
                    override fun apply(project: Project) {
                        val myType = MyType(property = project.objects.property(String::class.java))
                        myType.property = "value"
                    }
                }
    
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. tests/associations_test.go

    	// many to many
    	err = DB.Model(&emptyUser).Association("Languages").Delete(&user1.Languages)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    }
    
    type (
    	myType           string
    	emptyQueryClause struct {
    		Field *schema.Field
    	}
    )
    
    func (myType) QueryClauses(f *schema.Field) []clause.Interface {
    	return []clause.Interface{emptyQueryClause{Field: f}}
    }
    
    func (sd emptyQueryClause) Name() string {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    ====
    
    === Mutable Managed Properties
    
    A mutable managed property is declared using an abstract getter method of type `Property<T>`, where `T` can be any serializable type or a <<#managed_types,fully managed Gradle type>>.
    The property must not have any setter methods.
    
    Here is an example of a task type with an `uri` property of type `URI`:
    
    [source,java]
    .Download.java
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	// err := s.GuaranteedUpdate(
    	//     "myKey", &MyType{}, true, preconditions,
    	//     func(input runtime.Object, res ResponseMeta) (runtime.Object, *uint64, error) {
    	//       // Before each invocation of the user defined function, "input" is reset to
    	//       // current contents for "myKey" in database.
    	//       curr := input.(*MyType)  // Guaranteed to succeed.
    	//
    	//       // Make the modification
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of this fluent iterable have been
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FluentIterable.java

       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of this fluent iterable have been
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test.go

    } z;
    
    // issue 6612
    // Test new scheme for deciding whether C.name is an expression, type, constant.
    // Clang silences some warnings when the name is a #defined macro, so test those too
    // (even though we now use errors exclusively, not warnings).
    
    void myfunc(void) {}
    int myvar = 5;
    const char *mytext = "abcdef";
    typedef int mytype;
    enum {
    	myenum = 1234,
    };
    
    #define myfunc_def myfunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	// UintType is equivalent to the CEL 'uint' type.
    	UintType = NewSimpleTypeWithMinSize("uint", cel.UintType, types.Uint(0), 1)
    
    	// ListType is equivalent to the CEL 'list' type.
    	ListType = NewListType(AnyType, noMaxLength)
    
    	// MapType is equivalent to the CEL 'map' type.
    	MapType = NewMapType(AnyType, AnyType, noMaxLength)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    				}
    				if hasAuthorizer {
    					envOpts = append(envOpts,
    						cel.Variable(AuthorizerVarName, library.AuthorizerType),
    						cel.Variable(RequestResourceAuthorizerVarName, library.ResourceCheckType))
    				}
    				envOpts = append(envOpts,
    					cel.Variable(ObjectVarName, cel.DynType),
    					cel.Variable(OldObjectVarName, cel.DynType),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. src/net/rpc/server.go

    	m.Unlock()
    	return n
    }
    
    func (s *service) call(server *Server, sending *sync.Mutex, wg *sync.WaitGroup, mtype *methodType, req *Request, argv, replyv reflect.Value, codec ServerCodec) {
    	if wg != nil {
    		defer wg.Done()
    	}
    	mtype.Lock()
    	mtype.numCalls++
    	mtype.Unlock()
    	function := mtype.method.Func
    	// Invoke the method, providing a new value for the reply.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top