Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 215 for GetCode (0.11 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

            private
            inline fun <T : TrackerMode> setMode(transition: (TrackerMode) -> T): T {
                synchronized(this) {
                    val newMode = transition(mode)
                    mode = newMode
                    return newMode
                }
            }
    
            fun toTrackingMode(): Tracking = setMode(TrackerMode::toTracking)
    
            fun toRestoringMode(): Restoring = setMode(TrackerMode::toRestoring)
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarCopyAction.java

                    archiveEntry.setModTime(getArchiveTimeFor(fileDetails));
                    archiveEntry.setSize(fileDetails.getSize());
                    archiveEntry.setMode(UnixStat.FILE_FLAG | fileDetails.getPermissions().toUnixNumeric());
                    tarOutStr.putArchiveEntry(archiveEntry);
                    fileDetails.copyTo(tarOutStr);
                    tarOutStr.closeArchiveEntry();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 08 14:16:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

            TarArchiveEntry entry = new TarArchiveEntry(path, true);
            entry.setSize(size);
            entry.setMode(mode);
            tarOutput.putArchiveEntry(entry);
        }
    
        @Override
        public UnpackResult unpack(CacheableEntity entity, InputStream input, OriginReader readOrigin) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top