Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 273 for creat (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		if err := etcdStorage.Create(context.Background(), key, pod, out, 0); err != nil {
    			t.Fatalf("Create failed: %v", err)
    		}
    		var err error
    		if lastRV, err = v.ParseResourceVersion(out.ResourceVersion); err != nil {
    			t.Fatalf("Unexpected error: %v", err)
    		}
    	}
    
    	cacher, _, err := newTestCacher(etcdStorage)
    	if err != nil {
    		t.Fatalf("Couldn't create cacher: %v", err)
    	}
    	defer cacher.Stop()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    import (
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestHasManyAssociation(t *testing.T) {
    	user := *GetUser("hasmany", Config{Pets: 2})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Pets").Find(&user2.Pets)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	registry.DeleteStrategy = testGracefulStrategy{defaultDeleteStrategy}
    
    	// create the object with denying admission
    	_, err := registry.Create(testContext, podA, denyCreateValidation, &metav1.CreateOptions{})
    	if err == nil {
    		t.Errorf("Expected admission error: %v", err)
    	}
    
    	// create the object
    	objA, err := registry.Create(testContext, podA, rest.ValidateAllObjectFunc, &metav1.CreateOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

        /**
         * Prepares to load or create a model. Does nothing if the cached model is available or else prepares to capture
         * configuration fingerprints and validation problems and then runs the given function.
         */
        fun maybePrepareModel(action: () -> Unit)
    
        /**
         * Loads the cached model, if available, or else runs the given function to create it and then writes the result to the cache.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            def agentJar = file("agent.jar")
            builder.buildJar(agentJar)
            buildFile << """
            """
            settingsFile << """
            """
    
            when:
            def runner = GradleRunner.create()
            runner.withJvmArguments("-javaagent:${agentJar}")
            if (!GradleContextualExecuter.embedded) {
                runner.withGradleInstallation(buildContext.gradleHomeDir)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // Two futures should not have the same toString, to avoid people asserting on it
        assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString());
      }
    
      public void testToString_oom() throws Exception {
        SettableFuture<Object> future = SettableFuture.create();
        future.set(
            new Object() {
              @Override
              public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    				condition.NewFunctions(),
    			),
    		},
    	}
    }
    
    // Wrapper for calling Create Bucket and ensure we get one and only one success.
    func TestCreateBucket(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testCreateBucket, endpoints: []string{"MakeBucket"}})
    }
    
    // testCreateBucket - Test for calling Create Bucket and ensure we get one and only one success.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <p>
         * Shortcut for {@code getService(ArtifactFactory.class).create(...)}.
         *
         * @param coordString the string having "standard" coordinate.
         * @return coordinate used to point to the artifact
         *
         * @see org.apache.maven.api.services.ArtifactCoordinateFactory#create(Session, String)
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	req, err := newTestSignedRequestV4(http.MethodDelete, getBucketLocationURL("", bucketName), 0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err)
    	}
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy

                import org.gradle.testkit.runner.GradleRunner
                import spock.lang.Specification
    
                class Test extends Specification {
                    def "create GradleRunner"() {
                        expect:
                        GradleRunner.create().withProjectDir(new File("foo")).build()
                    }
                }
            """)
    
            then:
            fails 'build'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top