Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 206 for SetMode (0.24 sec)

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

    	if kubeClient == nil {
    		return nil
    	}
    
    	logger := klog.FromContext(ctx)
    	logger = klog.LoggerWithName(logger, "node resources controller")
    	ctx = klog.NewContext(ctx, logger)
    
    	c := &nodeResourcesController{
    		ctx:        ctx,
    		kubeClient: kubeClient,
    		getNode:    getNode,
    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/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                @Override
                public void execute(ModelBinding modelBinding) {
                    ModelNodeInternal node = modelBinding.getNode();
                    BindingPredicate predicate = modelBinding.getPredicate();
                    if (node.isAtLeast(predicate.getState())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/src/main/java/org/myorg/tasks/UrlVerify.java

        @TaskAction
        public void verify() {
            String url = getUrl().get();
            try {
                HttpResponse httpResponse = httpCaller.get(url);
    
                if (httpResponse.getCode() != 200) {
                    throw new GradleException(String.format("Failed to resolve url '%s' (%s)", url, httpResponse.toString()));
                }
            } catch (HttpCallException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. pkg/volume/util/hostutil/hostutil_unsupported.go

    // GetSELinuxSupport always returns an error on unsupported platforms
    func (hu *HostUtil) GetSELinuxSupport(pathname string) (bool, error) {
    	return false, errUnsupported
    }
    
    // GetMode always returns an error on unsupported platforms
    func (hu *HostUtil) GetMode(pathname string) (os.FileMode, error) {
    	return 0, errUnsupported
    }
    
    func getDeviceNameFromMount(mounter mount.Interface, mountPath, pluginMountDir string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 10:17:38 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/Destination.java

     */
    public enum Destination implements Serializable {
    
        StdOut(0),
        StdErr(1);
    
        private final int code;
    
         Destination(int code) {
            this.code = code;
        }
    
        public int getCode() {
            return code;
        }
    
        public static Destination fromCode(int code) {
            for (Destination d : Destination.values()) {
                if (d.code == code) {
                     return d;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/LockOptions.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.cache;
    
    public interface LockOptions {
    
        FileLockManager.LockMode getMode();
    
        boolean isUseCrossVersionImplementation();
    
        /**
         * Creates a copy of this options instance using the given mode.
         *
         * @param mode the mode to overwrite the current mode with
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 982 bytes
    - Viewed (0)
  7. pkg/volume/util/hostutil/hostutil.go

    	GetOwner(pathname string) (int64, int64, error)
    	// GetSELinuxSupport returns true if given path is on a mount that supports
    	// SELinux.
    	GetSELinuxSupport(pathname string) (bool, error)
    	// GetMode returns permissions of the path.
    	GetMode(pathname string) (os.FileMode, error)
    	// GetSELinuxMountContext returns value of -o context=XYZ mount option on
    	// given mount point.
    	GetSELinuxMountContext(pathname string) (string, error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_windows.go

    // Windows does not support SELinux.
    func (hu *HostUtil) GetSELinuxSupport(pathname string) (bool, error) {
    	return false, nil
    }
    
    // GetMode returns permissions of the path.
    func (hu *HostUtil) GetMode(pathname string) (os.FileMode, error) {
    	info, err := os.Stat(pathname)
    	if err != nil {
    		return 0, err
    	}
    	return info.Mode(), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

        private boolean discartPunctuation;
    
        public KuromojiTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
            super(indexSettings, settings, name);
            mode = getMode(settings);
            userDictionary = getUserDictionary(env, settings);
            discartPunctuation = settings.getAsBoolean("discard_punctuation", true);
            nBestCost = settings.getAsInt(NBEST_COST, -1);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/SingleFileTreeElementMatcher.java

            @Override
            public RelativePath getRelativePath() {
                return relativePath;
            }
    
            @Override
            @Deprecated
            public int getMode() {
                DeprecationLogger.deprecateMethod(FileTreeElement.class, "getMode()")
                    .replaceWith("getPermissions()")
                    .willBeRemovedInGradle9()
                    .withUpgradeGuideSection(8, "unix_file_permissions_deprecated")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top