Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 152 for mytype (0.24 sec)

  1. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
        assertEquals("java", Reflection.getPackageName("java.MyType"));
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));
        assertEquals("", Reflection.getPackageName("NoPackage"));
        assertEquals("java.util", Reflection.getPackageName(Map.Entry.class));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * have to specify the context of a configuration statement multiple times. <p> Instead of:</p>
         * <pre>
         * MyType myType = new MyType()
         * myType.doThis()
         * myType.doThat()
         * </pre>
         * <p> you can do:
         * <pre>
         * MyType myType = configure(new MyType()) {
         *     doThis()
         *     doThat()
         * }
         * </pre>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K 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/go/printer/testdata/declarations.golden

    ---
    bar`
    )
    
    func _() {
    	type _ int
    	type _ *int
    	type _ []int
    	type _ map[string]int
    	type _ chan int
    	type _ func() int
    
    	var _ int
    	var _ *int
    	var _ []int
    	var _ map[string]int
    	var _ chan int
    	var _ func() int
    
    	type _ struct{}
    	type _ *struct{}
    	type _ []struct{}
    	type _ map[string]struct{}
    	type _ chan struct{}
    	type _ func() struct{}
    
    	type _ interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  8. src/go/printer/testdata/declarations.input

    ---
    bar`
    )
    
    
    func _() {
    	type _ int
    	type _ *int
    	type _ []int
    	type _ map[string]int
    	type _ chan int
    	type _ func() int
    
    	var _ int
    	var _ *int
    	var _ []int
    	var _ map[string]int
    	var _ chan int
    	var _ func() int
    
    	type _ struct{}
    	type _ *struct{}
    	type _ []struct{}
    	type _ map[string]struct{}
    	type _ chan struct{}
    	type _ func() struct{}
    
    	type _ interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/defaults_test.go

    				toVisit = append(toVisit, testPath{path: visit.path + "[*]", value: item})
    			} else if !isPrimitive(visit.value.Type().Elem().Kind()) {
    				t.Logf("unhandled non-primitive map type %s: %s", visit.path, visit.value.Type().Elem())
    			}
    
    		case visit.value.Kind() == reflect.Pointer:
    			if visit.value.IsNil() {
    				if visit.value.Type().Elem().Kind() == reflect.Struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  10. 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)
Back to top