- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 127 for Trimmed (0.1 sec)
-
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableFilePermissions.java
private static String normalizeUnixPermissions(String permissions) { String trimmed = permissions.trim(); if (trimmed.length() == 4 && trimmed.startsWith("0")) { return trimmed.substring(1); } if (trimmed.length() != 3 && trimmed.length() != 9) { throw new IllegalArgumentException("Trimmed length must be either 3 (for numeric notation) or 9 (for symbolic notation)."); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpec.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/go/internal/str/path.go
// (Trim("/tmp/foo", "") should give "/tmp/foo", not "tmp/foo".) return s } if !HasFilePathPrefix(s, prefix) { return s } trimmed := s[len(prefix):] if len(trimmed) > 0 && os.IsPathSeparator(trimmed[0]) { if runtime.GOOS == "windows" && prefix == filepath.VolumeName(prefix) && len(prefix) == 2 && prefix[1] == ':' { // Joining a relative path to a bare Windows drive letter produces a path
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/BooleanQuestionPromptEvent.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/SelectOptionPromptEvent.java
public PromptResult<Integer> convert(String text) { if (text.isEmpty()) { return PromptResult.response(defaultOption); } String trimmed = text.trim(); if (trimmed.matches("\\d+")) { int value = Integer.parseInt(trimmed); if (value > 0 && value <= options.size()) { return PromptResult.response(value - 1); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor_trimpath.txt
go run main.go stdout vendor # With -trimpath, everything before the package path should be trimmed. # As with -mod=mod, the version should appear as part of the module path. go run -mod=vendor -trimpath main.go stdout '^example.com/stack@v1.0.0/stack.go$' # With pristinely vendored source code, a trimmed binary built from vendored # code should have the same behavior as one build from the module cache.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 13 00:19:50 UTC 2021 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomDomParser.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultConfigurableFilePermissionsTest.java
assertInvalidUnixPermission(" ", "' ' isn't a proper Unix permission. Trimmed length must be either 3 (for numeric notation) or 9 (for symbolic notation).");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/pos.go
return NewTrimmedFileBase(filename, false) } // NewTrimmedFileBase is like NewFileBase, but allows specifying Trimmed. func NewTrimmedFileBase(filename string, trimmed bool) *PosBase { base := &PosBase{MakePos(nil, linebase, colbase), filename, linebase, colbase, trimmed} base.pos.base = base return base } // NewLineBase returns a new PosBase for a line directive "line filename:line:col"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 20:44:57 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/YesNoQuestionPromptEvent.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 1.8K bytes - Viewed (0)