- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for goroot (0.1 sec)
-
cmd/common-main.go
} // autoGenerateRootCredentials generates root credentials deterministically if // a KMS is configured, no manual credentials have been specified and if root // access is disabled. func autoGenerateRootCredentials() auth.Credentials { if GlobalKMS == nil { return globalActiveCred } aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
void rootUrlIsRoot() throws Exception { DummySmbResourceLocator root = new DummySmbResourceLocator("smb://server/"); // last component includes trailing slash per specification assertEquals("server/", root.getName()); assertEquals("smb://", root.getParent()); assertTrue(root.isRoot()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertFalse(base.overlaps(other)); } @Test @DisplayName("isRoot and isRootOrShare reflect path state") void testIsRootAndShare() { assertTrue(locator("smb://server/").isRoot()); assertFalse(locator("smb://server/share/").isRoot()); assertTrue(locator("smb://server/").isRootOrShare()); assertTrue(locator("smb://server/share/").isRootOrShare());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
*/ boolean isWorkgroup() throws CIFSException; /** * Determines whether this resource represents the root of the SMB hierarchy. * * @return whether this is a root resource */ boolean isRoot();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } return null; } static String[] list(final SmbFile root, final String wildcard, final int searchAttributes, final SmbFilenameFilter fnf, final SmbFileFilter ff) throws SmbException { try (CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes, fnf == null ? null : (parent, name) -> { if (!(parent instanceof SmbFile)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/chroot/README.md
Chroot allows user based namespace isolation on many standard Linux deployments. ## 1. Prerequisites - Familiarity with [chroot](http://man7.org/linux/man-pages/man2/chroot.2.html) - Chroot installed on your machine. ## 2. Install MinIO in Chroot ```sh mkdir -p /mnt/export/${USER}/bin
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
boolean hasNextAddress() { return this.addressIndex < this.addresses.length; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#isRoot() */ @Override public boolean isRoot() { // length == 0 should not happen return getShare() == null && getUNCPath().length() <= 1; } boolean isRootOrShare() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
} /** * Constructs a new TransportException with the specified root cause. * * @param rootCause the root cause of this exception */ public TransportException(final Throwable rootCause) { this.rootCause = rootCause; } /** * Constructs a new TransportException with the specified detail message and root cause. * * @param msg the detail message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
void testGetRootCause() { Exception rootCause = new IllegalStateException("Test root cause"); TransportException exception = new TransportException("Message", rootCause); assertEquals(rootCause, exception.getRootCause()); } @Test @DisplayName("Should return null when no root cause") void testGetRootCauseWhenNull() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Verify that the message + rootCause constructor stores the root. */ @Test @DisplayName("Message + root cause stores root cause") void testStringAndThrowableConstructor() { Throwable root = mock(Throwable.class); SmbException ex = new SmbException("oops", root); assertSame(root, ex.getRootCause()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)