- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for setContext (0.09 sec)
-
src/main/java/jcifs/smb/SmbFile.java
this( isWorkgroup(context) ? new URL(null, "smb://" + checkName(name), context.getContext().getUrlHandler()) : new URL(context.getLocator().getURL(), encodeRelativePath(checkName(name)), context.getContext().getUrlHandler()), context.getContext()); setContext(context, name); } /** * Construct from string URL * * @param url
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class); Assert.assertEquals("b@r", na.getPassword()); } try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) { Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
ignoreAuthFailure(e); } } @Test public void logonGuestLegacy2 () throws IOException { CIFSContext ctx = getContext().withCredentials(new NtlmPasswordAuthentication(getContext(), null, "guest", "")); try ( SmbResource f = new SmbFile(getTestShareGuestURL(), ctx) ) { checkConnection(f); } catch ( SmbAuthException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} if ( req.getDomain() != null && getContext().getConfig().isDfsConvertToFQDN() && dr instanceof DfsReferralDataImpl ) { ( (DfsReferralDataImpl) dr ).fixupDomain(req.getDomain()); } if ( log.isDebugEnabled() ) { log.debug("Got referral " + dr); } getContext().getDfs().cache(getContext(), path, dr); throw new DfsReferral(dr); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
} } @Test public void testShareEnum () throws MalformedURLException, CIFSException { try ( SmbFile smbFile = new SmbFile("smb://" + getTestServer(), withTestNTLMCredentials(getContext())) ) { String[] list = smbFile.list(); assertNotNull(list); assertTrue("No share found", list.length > 0); log.debug(Arrays.toString(list)); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
try ( SmbResource f = createTestFile() ) { try { long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12; f.setLastModified(time); if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) { // only have second precision // there seems to be some random factor (adding one second)
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
Dependency node = collectStepTrace.getNode(); trackingData.add(resolvedArtifact.toString()); indent += " "; trackingData.add(indent + node + " (" + collectStepTrace.getContext() + ")"); ListIterator<DependencyNode> iter = collectStepTrace .getPath() .listIterator(collectStepTrace.getPath().size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java
return metadata.get(key); } public Set<String> getKeySet() { return metadata.keySet(); } public String getContent() { return content; } public void setContent(final String content) { this.content = content; } @Override public String toString() { return "ExtractData [metadata=" + metadata + ", content=" + content + "]"; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
const = 0; virtual absl::Status SetInput(size_t index, ImmediateExecutionTensorHandle* input) = 0; virtual ImmediateExecutionContext* GetContext() const = 0; // Following two methods are used to support custom device. // Return true if the inputs contain custom device tensor handle. It means // that the argument need to be handled by a custom device.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
LocalMetadataResult result = new LocalMetadataResult(request); String path; Metadata metadata = request.getMetadata(); String context = request.getContext(); RemoteRepository remote = request.getRepository(); if (remote != null) { path = getPathForRemoteMetadata(metadata, remote, context); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0)