Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for practice (0.18 sec)

  1. pkg/kubelet/cm/dra/plugin/noderesources.go

    func (c *nodeResourcesController) run(ctx context.Context) {
    	logger := klog.FromContext(ctx)
    
    	// When kubelet starts, we have two choices:
    	// - Sync immediately, which in practice will delete all ResourceSlices
    	//   because no plugin has registered yet. We could do a DeleteCollection
    	//   to speed this up.
    	// - Wait a bit, then sync. If all plugins have re-registered in the meantime,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/custom_plugins.adoc

    In this example, the plugin is written directly in the build file which is *not a recommended practice*.
    
    When the plugin is written in a separate script file, it can be applied using `apply(from = "file_name.gradle.kts")` or `apply from: 'file_name.gradle'`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 21:49:49 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

    }
    
    // Create an `ConstBytesAttr` which encodes the options
    // for the `tf.custom` tensor list op to be created. If the given
    // op is not a `tf.TensorList*` op, return empty, although this case
    // should never be trigged in practice since patterns are only applied
    // on `tf.TensorList*` ops.
    std::optional<ConstBytesAttr> CustomOptions(MLIRContext* context,
                                                mlir::Operation* op) {
      if (auto reserve =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. pkg/kube/krt/collection.go

    	}
    	for _, handler := range handlers {
    		handler(slices.Clone(events), false)
    	}
    }
    
    // WithName allows explicitly naming a controller. This is a best practice to make debugging easier.
    // If not set, a default name is picked.
    func WithName(name string) CollectionOption {
    	return func(c *collectionOptions) {
    		c.name = name
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

                // JVM allows to define a class with "null" name through Unsafe. LambdaMetafactory in Java 8 defines a SAM implementation for method handle this way.
                // ProtectionDomain is unlikely to be null in practice, but checking it doesn't hurt.
                return null;
            }
            try {
                return getLoader(protectionDomain).loadTransformedClass(className);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

    import javax.annotation.Nullable;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    /**
     * Uses attribute matching to select a list of one or more variants for a component in a graph
     * (in practice, this should be only contain single variant).
     *
     * This class is intentionally named similarly to {@link ArtifactVariantSelector}, as it has a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    #
    #   Important for patching:
    #
    #   (2) This script targets any POSIX shell, so it avoids extensions provided
    #       by Bash, Ksh, etc; in particular arrays are avoided.
    #
    #       The "traditional" practice of packing multiple parameters into a
    #       space-separated string is a well documented source of bugs and security
    #       problems, so this is (mostly) avoided, by progressively accumulating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    				// sorts and deduplicates the values, so we need to make sure ours are
    				// sorted and deduplicated as well here to preserve round-trip comparison.
    				// In practice, not sorting doesn't hurt anything...
    
    				for i := range j.MatchExpressions {
    					req := metav1.LabelSelectorRequirement{}
    					c.Fuzz(&req)
    					req.Key = randomLabelKey(c)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/crypto/x509/verify.go

    			return mailbox, false
    		}
    	}
    
    	if len(in) == 0 || in[0] != '@' {
    		return mailbox, false
    	}
    	in = in[1:]
    
    	// The RFC species a format for domains, but that's known to be
    	// violated in practice so we accept that anything after an '@' is the
    	// domain part.
    	if _, ok := domainToReverseLabels(in); !ok {
    		return mailbox, false
    	}
    
    	mailbox.local = string(localPartBytes)
    	mailbox.domain = in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/cmd/trace/pprof.go

    //
    // Because slices aren't comparable and we want to leverage maps for deduplication,
    // we have to choose a fixed constant upper bound on the amount of frames we want
    // to support. In practice this is fine because there's a maximum depth to these
    // stacks anyway.
    const pprofMaxStack = 128
    
    // stackMap is a map of trace.Stack to some value V.
    type stackMap struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top