Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for mytype (0.09 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. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h

    // for registering the hardware.
    // Subclasses must implement the pure virtual function interface and
    // define static member variable that retrieves string identifying the Target
    // Hardware. Example,
    // class MyType : public TargetHardware {
    //  public:
    //   static constexpr char kId[] = "MyHardware";
    // };
    class TargetHardware {
     public:
      virtual ~TargetHardware() = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top