Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 7,359 for CREATE (0.3 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

            failure.assertHasCause("Cannot create 'tasks.a' using creation rule 'MyPlugin#addTasks2(ModelMap<Task>, MyModel) > create(a)' as the rule 'MyPlugin#addTasks1(ModelMap<Task>, MyModel) > create(a)' is already registered to create this model element.")
        }
    
        def "cannot create tasks during config of task"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
  2. plugin/pkg/admission/noderestriction/admission_test.go

    		expectError    string
    	}{
    		"create allowed, enabled": {
    			operation:      admission.Create,
    			obj:            sliceNode,
    			featureEnabled: true,
    			expectError:    "",
    		},
    		"create disallowed, enabled": {
    			operation:      admission.Create,
    			obj:            sliceOtherNode,
    			featureEnabled: true,
    			expectError:    err,
    		},
    		"create allowed, disabled": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  3. docs/bucket/replication/setup_replication.sh

    #!/bin/sh
    
    # Create buckets with versioning and object locking enabled.
    mc mb -l source/bucket
    mc mb -l dest/bucket
    
    #### Create a replication admin on source alias
    # create a replication admin user : repladmin
    mc admin user add source repladmin repladmin123
    
    # create a replication policy for repladmin
    cat >repladmin-policy-source.json <<EOF
    {
        "Version": "2012-10-17",
        "Statement": [
        {
            "Action": [
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy

            }
            apply plugin: Rules
    
            model {
                components {
                    withType(SampleComponent).create("other", NonRegisteredComponent)
                }
            }
            """
    
            expect:
            fails "components"
            failure.assertHasCause("Cannot create an instance of type 'NonRegisteredComponent' as this type is not known. Known types: SampleComponent.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc

        for (int i = 0; i < counter_size; ++i) {
          Value word = counter[i];
          Value word_u64 = rewriter.create<CastOp>(loc, word_u64_type, word);
          Value new_word_u64 = rewriter.create<AddV2Op>(loc, word_u64, increment);
          Value new_word = rewriter.create<CastOp>(loc, word_type, new_word_u64);
          pack_args.push_back(new_word);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            def bean = create(Bean)
    
            expect:
            !(bean instanceof Managed)
        }
    
        def doesNotMixManagedIntoAbstractClassWithFields() {
            def bean = create(AbstractBean, "value")
    
            expect:
            !(bean instanceof Managed)
        }
    
        def doesNotMixManagedIntoClassWithInheritedFields() {
            def bean = create(AbstractBeanWithInheritedFields, "value")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. tests/postgres_test.go

    	}
    
    	if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil {
    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    	DB.Migrator().DropTable(&Yasuo{})
    
    	if err := DB.AutoMigrate(&Yasuo{}); err != nil {
    		t.Fatalf("Failed to migrate for uuid default value, got error: %v", err)
    	}
    
    	yasuo := Yasuo{Name: "jinzhu"}
    	if err := DB.Create(&yasuo).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashMultimapTest.java

        try {
          HashMultimap.create(-20, 15);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          HashMultimap.create(20, -15);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEmptyMultimapsEqual() {
        Multimap<String, Integer> setMultimap = HashMultimap.create();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskSpec.groovy

            when:
            def conf = project.configurations.create("foo")
            task.configuration = conf
            task.dependencySpec = { true } as Spec
            then:
            task.dependencySpec != null
            task.configuration == conf
        }
    
        def "can set spec and configuration via methods"() {
            when:
            project.configurations.create("foo")
            task.setConfiguration 'foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 17 06:46:38 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            rewriter.create<SubtractOp>(loc, b_max_diag_len, diag_len_d), b_zero);
    
        // x = max(d, 0) - offset
        // y = max(-d, 0) - offset
        Value x = rewriter.create<SubtractOp>(
            loc, rewriter.create<MaxOp>(loc, d, b_zero), offset);
        Value y = rewriter.create<SubtractOp>(
            loc, rewriter.create<MaxOp>(loc, neg_d, b_zero), offset);
    
        Value n_plus_x = rewriter.create<AddOp>(loc, iotaN, x);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top