- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 1,509 for xpath (0.02 sec)
-
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
private SmbFileInputStream newStream() throws SmbException { // Constructor that avoids external I/O; stays in-memory when(mockTree.isSMB2()).thenReturn(true); // default SMB2 for simple happy-path return new SmbFileInputStream(mockFile, mockTree, mockHandle); } @BeforeEach void setUp() throws Exception { // Common, safe defaults for collaborators
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
ftpUser.setName(username); ftpUser.setPassword(password); final File file = ResourceUtil.getResourceAsFile("test"); String path = file.getAbsolutePath(); ftpUser.setHomeDirectory(path); userManager.save(ftpUser); } FtpServer server = factory.createServer(); server.start(); return server; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 18K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SMBSignatureValidationExceptionTest { // Happy path: default constructor creates an exception with no message/cause @Test @DisplayName("Default ctor: null message/cause and success status") void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
func (j *xlMetaV2Version) ToFileInfo(volume, path string, allParts bool) (fi FileInfo, err error) { if j == nil { return fi, errFileNotFound } switch j.Type { case ObjectType: fi, err = j.ObjectV2.ToFileInfo(volume, path, allParts) case DeleteType: fi, err = j.DeleteMarker.ToFileInfo(volume, path) case LegacyType: fi, err = j.ObjectV1.ToFileInfo(volume, path) default: return fi, errFileNotFound }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
src/archive/tar/writer.go
spb = append(spb, zeroBlock[:pad]...) hdr.Size += int64(len(spb)) // Accounts for encoded sparse map // Add and modify appropriate PAX records. dir, file := path.Split(realName) hdr.Name = path.Join(dir, "GNUSparseFile.0", file) paxHdrs[paxGNUSparseMajor] = "1" paxHdrs[paxGNUSparseMinor] = "0" paxHdrs[paxGNUSparseName] = realName
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* @throws IOException if an I/O error occurs */ boolean ensureConnected() throws IOException; /** * Gets DFS referrals for the specified path. * * @param ctx the CIFS context * @param name the DFS path to resolve * @param targetHost the target host name * @param targetDomain the target domain * @param rn the referral number * @return dfs referral
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for {@link RequestParam} covering enum mechanics and edge cases. */ @ExtendWith(MockitoExtension.class) public class RequestParamTest { // Happy path: values() returns all constants in declaration order @Test @DisplayName("values() returns all declared constants in order") void valuesContainsAllInOrder() { RequestParam[] values = RequestParam.values();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/bucket-metadata.go
package cmd import ( "bytes" "context" "crypto/rand" "encoding/binary" "encoding/json" "encoding/xml" "errors" "fmt" "path" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7/pkg/tags" bucketsse "github.com/minio/minio/internal/bucket/encryption" "github.com/minio/minio/internal/bucket/lifecycle"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
} } /** * Traverses classes contained in a Jar file. * <p> * If the specified Jar file has the extension <code>.war</code>, only entries whose path starts with the prefix <code>WEB-INF/classes</code> are traversed. * The handler receives the entry name excluding the prefix. For example, if the Jar file contains <code>/WEB-INF/classes/ccc/ddd/Eee.class</code>,
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// results in an IOException, as no default handler should be found. assertThrows(IOException.class, () -> { handler.openConnection(new URL("unknownprotocol://somehost/path")); }, "Should throw IOException for an unknown protocol."); } @Test void testSetURLStreamHandlerFactory_SuccessFirstTime() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)