- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 206 for GetCode (0.13 sec)
-
cmd/kubeadm/test/cmd/util.go
func RunCmd(command string, args ...string) (string, string, int, error) { stdout, stderr, retcode, err := runCmdNoWrap(command, args...) if err != nil { return stdout, stderr, retcode, errors.Wrapf(err, "error running %s %v; \nretcode %d, \nstdout %q, \nstderr %q, \ngot error", command, args, retcode, stdout, stderr) } return stdout, stderr, retcode, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 01 12:47:03 UTC 2024 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchy.java
@Override void visit(NodeAccess value) { builder.add(value.getNode()); } @Override ImmutableSet<Node> getResult() { return builder.build(); } } private interface NodeAccess { Node getNode(); boolean accessesChild(VfsRelativePath childPath); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 12 20:10:34 UTC 2022 - 6.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go
return d.modefile } // SetMode updates the telemetry mode with the given mode. // Acceptable values for mode are "on", "off", or "local". // // SetMode always writes the mode file, and explicitly records the date at // which the modefile was updated. This means that calling SetMode with "on" // effectively resets the timeout before the next telemetry report is uploaded. func (d Dir) SetMode(mode string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
// Enabled indicates object locking is enabled const Enabled = "Enabled" // RetMode - object retention mode. type RetMode string const ( // RetGovernance - governance mode. RetGovernance RetMode = "GOVERNANCE" // RetCompliance - compliance mode. RetCompliance RetMode = "COMPLIANCE" ) // Valid - returns if retention mode is valid func (r RetMode) Valid() bool { switch r { case RetGovernance, RetCompliance:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/kubelet/server/stats/testing/mock_stats_provider.go
} // GetNode mocks base method. func (m *MockProvider) GetNode() (*v10.Node, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetNode") ret0, _ := ret[0].(*v10.Node) ret1, _ := ret[1].(error) return ret0, ret1 } // GetNode indicates an expected call of GetNode. func (mr *MockProviderMockRecorder) GetNode() *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 11.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy
if (isWindows()) { return } def perms = PosixFilePermissions.fromString(permissions) Files.setPosixFilePermissions(file.toPath(), perms) } void setMode(int mode) { // TODO: Remove this entirely and use built-in Files.setPosixFilePermissions def process = ["chmod", Integer.toOctalString(mode), file.absolutePath].execute()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java
} @Override public Stream<FileSystemLocationSnapshot> rootSnapshotsUnder(String absolutePath) { return getNode(absolutePath) .map(FileSystemNode::rootSnapshots) .orElseGet(Stream::empty); } private Optional<FileSystemNode> getNode(String absolutePath) { VfsRelativePath relativePath = VfsRelativePath.of(absolutePath); return relativePath.isEmpty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 6.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/PatternSetSnapshottingFilter.java
} 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 - 8K bytes - Viewed (0) -
src/cmd/internal/telemetry/telemetry.go
return telemetry.Mode() } // SetMode sets the global telemetry mode to the given value. // // See the documentation of [Mode] for a description of the supported mode // values. // // An error is returned if the provided mode value is invalid, or if an error // occurs while persisting the mode value to the file system. func SetMode(mode string) error { return telemetry.SetMode(mode) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:30 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy
def "querying the node for non-existent child #vfsSpec.searchedPath yields a missing file (#vfsSpec)"() { setupTest(vfsSpec) when: FileSystemLocationSnapshot foundSnapshot = initialRoot.getNode(searchedPath, CASE_SENSITIVE).get() as FileSystemLocationSnapshot then: foundSnapshot.type == FileType.Missing foundSnapshot.absolutePath == searchedPath.absolutePath where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.2K bytes - Viewed (0)