Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 266 for CREATE (0.27 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. pkg/volume/csi/csi_attacher_test.go

    			attacher, err := plug.NewAttacher()
    			if err != nil {
    				t.Fatalf("failed to create new attacher: %v", err)
    			}
    			csiAttacher := getCsiAttacherFromVolumeAttacher(attacher, test.watchTimeout)
    
    			if test.makeAttachment != nil {
    				attachment := test.makeAttachment()
    				_, err = csiAttacher.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	defer cancel()
    
    	// Create project buckets
    	buckets := []string{"projecta", "projectb", "projectaorb", "other"}
    	for _, bucket := range buckets {
    		err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    		if err != nil {
    			c.Fatalf("bucket create error: %v", err)
    		}
    	}
    
    	// Create policies
    	for polName, polContent := range policyProjectsMap {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    using ::tflite::IsValidBufferOffset;
    
    // Create the MLIR NamedLoc location corresponding to a given tensor
    Location TensorLoc(const TensorT& tensor, Builder builder, Location base) {
      if (tensor.name.empty()) {
        return base;
      }
      return mlir::NameLoc::get(builder.getStringAttr(tensor.name), base);
    }
    
    // Create the MLIR Location corresponding to a given op. This is an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.register("foo") { it.descriptor("create foo as String").unmanaged("value") }
    
            when:
            registry.register("foo") { it.descriptor("create foo as Integer").unmanaged(12.toInteger()) }
    
            then:
            DuplicateModelException e = thrown()
            e.message == /Cannot create 'foo' using creation rule 'create foo as Integer' as the rule 'create foo as String' is already registered to create this model element./
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("in", in);
            assertArgumentNotNull("out", out);
    
            final FileInputStream is = InputStreamUtil.create(in);
            try {
                final FileOutputStream os = OutputStreamUtil.create(out);
                try {
                    return copyInternal(is, os);
                } finally {
                    CloseableUtil.close(os);
                }
            } finally {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			podState:      Other,
    			expectedFound: true, // Pod should be added to DSW
    		},
    	}
    
    	for _, tc := range tests {
    		t.Run(tc.desc, func(t *testing.T) {
    			// create dswp
    			dswp, fakePodManager, fakePodState := prepareDswpWithVolume(t)
    
    			// create pod
    			containers := []v1.Container{
    				{
    					VolumeMounts: []v1.VolumeMount{
    						{
    							Name:      "dswp-test-volume-name",
    							MountPath: "/mnt",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	err := ctx.Plugin.Dispatch(
    		context.Background(),
    		// Object is irrelevant/unchecked for this test. Just test that
    		// the evaluator is executed, and returns a denial
    		attributeRecord(nil, fakeParams, admission.Create),
    		&admission.RuntimeObjectInterfaces{},
    	)
    
    	require.ErrorContains(t, err, "not yet ready to handle request")
    
    	// Show that by now starting the informer, the error is dissipated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

    //    only worker 1.
    // 2. Create a context B using A.
    // 3. Create the variable in B.
    // 4. Create another single host server def C with only worker 0.
    // 5. Start the GRPC server for worker 0 using C.
    // 6. Create a context D using the full cluster server def E.
    // 7. Read the variable in D.
    TEST(CAPI, SingleHostServerDefV1Works) {
      // Create a server def that represents a 2-process cluster and a client.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      TensorType zero_point_type = scale_type.clone(rewriter.getI32Type());
      scale = rewriter.create<TF::ConstOp>(
          loc, scale_type,
          DenseFPElementsAttr::get(scale_type,
                                   {static_cast<float>(qtype.getScale())}));
      zero_point = rewriter.create<TF::ConstOp>(
          loc, zero_point_type,
          DenseIntElementsAttr::get(zero_point_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top