Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,726 for createFn (0.13 sec)

  1. plugin/pkg/admission/namespace/autoprovision/admission.go

    	}
    
    	_, err = p.client.CoreV1().Namespaces().Create(context.TODO(), namespace, metav1.CreateOptions{})
    	if err != nil && !errors.IsAlreadyExists(err) {
    		return admission.NewForbidden(a, err)
    	}
    
    	return nil
    }
    
    // NewProvision creates a new namespace provision admission control handler
    func NewProvision() *Provision {
    	return &Provision{
    		Handler: admission.NewHandler(admission.Create),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/ops/variable_ops_test.cc

      EagerContextPtr ctx_;
    };
    
    // Sanity check for variable creation
    TEST_F(VariableOpsTest, CreateVariableSuccessful) {
      // Create a DT_Resource TensorHandle that points to a scalar DT_FLOAT tensor
      ImmediateTensorHandlePtr handle;
      TF_EXPECT_OK(internal::CreateUninitializedResourceVariable(
          context(), DT_FLOAT, {}, nullptr, &handle));
      // The created TensorHandle should be a DT_Resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 21 19:26:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/FileSystem.java

        boolean isCaseSensitive();
    
        /**
         * Tells if the file system can create symbolic links. If the answer cannot be determined accurately,
         * <code>false</code> is returned.
         *
         * @return <code>true</code> if the file system can create symbolic links, <code>false</code> otherwise
         */
        boolean canCreateSymbolicLink();
    
        /**
         * Creates a symbolic link to a target file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    	}
    
    	// ensure that we're not trying to create objects in terminating namespaces
    	if a.GetOperation() == admission.Create {
    		if namespace.Status.Phase != v1.NamespaceTerminating {
    			return nil
    		}
    
    		err := admission.NewForbidden(a, fmt.Errorf("unable to create new content in namespace %s because it is being terminated", a.GetNamespace()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  5. tests/fuzz/kube_crd_fuzzer.go

    	"istio.io/istio/pkg/config/schema/collections"
    )
    
    // FuzzKubeCRD implements a fuzzer that targets
    // the kube CRD in two steps.
    // It first creates an object with a config
    // that has had pseudo-random values inserted.
    // When a valid object has been created, it
    // tries and convert that object. If this
    // conversion fails, it panics.
    func FuzzKubeCRD(data []byte) int {
    	f := fuzz.NewConsumer(data)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 20:50:14 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/types.go

    	ResourceParameters *ResourceConfig
    }
    
    // CgroupManager allows for cgroup management.
    // Supports Cgroup Creation ,Deletion and Updates.
    type CgroupManager interface {
    	// Create creates and applies the cgroup configurations on the cgroup.
    	// It just creates the leaf cgroups.
    	// It expects the parent cgroup to already exist.
    	Create(*CgroupConfig) error
    	// Destroy the cgroup.
    	Destroy(*CgroupConfig) error
    	// Update cgroup configuration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. releasenotes/notes/revision-install-create-istiod-service.yaml

    Sam Naser <******@****.***> 1620416493 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 07 19:41:33 UTC 2021
    - 453 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    logger.warn("Failed to create thumbnail: {} -> {} ({}:{})", thumbnailId, responseData.getUrl(),
                            t.getClass().getCanonicalName(), t.getMessage());
                    if (logger.isDebugEnabled()) {
                        logger.debug("Details for failed thumbnail creation.", t);
                    }
                } finally {
                    if (!created) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  10. tensorflow/cc/ops/while_loop.cc

    // before the NextIteration node is created.
    string NextIterationName(const Scope& scope, int loop_var_idx) {
      string result;
      const string& prefix = scope.impl()->name();
      if (!prefix.empty()) strings::StrAppend(&result, prefix, "/");
      strings::StrAppend(&result, "NextIteration");
      if (loop_var_idx > 0) strings::StrAppend(&result, "_", loop_var_idx);
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top