Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 215 for SetMode (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/wasm/convert.go

    	}
    
    	// At this point, we should have wasmNetworkFilterConfig or wasmHTTPFilterConfig should be unmarshalled.
    	if wasmNetwork {
    		if wasmNetworkFilterConfig.Config.GetVmConfig().GetCode().GetRemote() == nil {
    			if wasmNetworkFilterConfig.Config.GetVmConfig().GetCode().GetLocal() == nil {
    				return nil, nil, nil, fmt.Errorf("no remote and local load found in Wasm Network filter %+v", wasmNetworkFilterConfig)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedStat.java

        public NativePlatformBackedStat(PosixFiles posixFiles) {
            this.posixFiles = posixFiles;
        }
    
        @Override
        public int getUnixMode(File f) {
            return posixFiles.getMode(f, true);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/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)
  7. istioctl/pkg/writer/pilot/status.go

    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "unix_file_permissions_deprecated")
                .nagUser();
            return getMode(buildRootResolver().getFilePermissions());
        }
    
        @Nullable
        private Integer getMode(Provider<ConfigurableFilePermissions> permissions) {
            return permissions.map(FilePermissions::toUnixNumeric).getOrNull();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/CapabilitiesConflictHandler.java

         * This is needed to determine if also implicit capabilities need to enter conflict detection.
         */
        boolean hasSeenCapability(Capability capability);
    
        interface Candidate {
            NodeState getNode();
            Capability getCapability();
            Collection<NodeState> getImplicitCapabilityProviders();
        }
    
        interface ResolutionDetails extends ConflictResolutionResult {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 23:54:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/extra-models.md

    `user_in` ist ein Pydantic-Modell der Klasse `UserIn`.
    
    Pydantic-Modelle haben eine `.dict()`-Methode, die ein `dict` mit den Daten des Modells zurückgibt.
    
    Wenn wir also ein Pydantic-Objekt `user_in` erstellen, etwa so:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    und wir rufen seine `.dict()`-Methode auf:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top