Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for mytype (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go

        # TYPE apiserver_authorization_decisions_total counter`
    	metrics := []string{
    		namespace + "_" + subsystem + "_decisions_total",
    	}
    
    	authorizationDecisionsTotal.Reset()
    	RegisterMetrics()
    
    	dummyAuthorizer := &dummyAuthorizer{}
    	a := InstrumentedAuthorizer("mytype", "myname", dummyAuthorizer)
    
    	// allow
    	{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyMapNotationConverterTest.groovy

        def parser = NotationParserBuilder.toType(ExternalModuleDependency).converter(new DependencyMapNotationConverter<DefaultExternalModuleDependency>(TestUtil.instantiatorFactory().decorateLenient(), DefaultExternalModuleDependency.class)).toComposite()
    
        def "with artifact"() {
            when:
            def d = parser.parseNotation([group: 'org.gradle', name: 'gradle-core', version: '4.4-beta2', ext: 'mytype'])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyStringNotationConverterTest.groovy

            !d.force
            !d.transitive
            !d.changing
    
            d.artifacts.size() == 1
            d.artifacts.find { it.name == 'gradle-core' && it.classifier == null && it.type == 'mytype' }
        }
    
        def "with classified artifact"() {
            when:
            def d = parse(parser, 'org.gradle:gradle-core:10:jdk-1.4@zip')
    
            then:
            d.name == 'gradle-core'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top