- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for setContext (0.12 sec)
-
src/test/java/jcifs/tests/NamingTest.java
public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException { Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode()); Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2()); String oemEncoding = getContext().getConfig().getOemEncoding(); String str = null; try { switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/PipeTest.java
@Test public void testSRVS () throws DcerpcException, IOException { try ( DcerpcHandle handle = DcerpcHandle .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) { MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs()); handle.sendrecv(rpc); assertEquals(0, rpc.retval); } } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/SidTest.java
String sid = getRequiredProperty(TestProperties.TEST_USER_SID); SID s = new SID(sid); s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext())); assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName()); assertEquals(getTestUser(), s.getAccountName()); assertEquals(jcifs.SID.SID_TYPE_USER, s.getType());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
} protected CIFSContext withTestGuestCredentials () { return getContext().withGuestCrendentials(); } protected CIFSContext withAnonymousCredentials () { return getContext().withAnonymousCredentials(); } protected String getTestDomain () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransport.java
* * @author mbechler * @internal */ public interface SmbTransport extends AutoCloseable { /** * @return the context this transport is attached to */ CIFSContext getContext (); /** * * @param type * @return transport instance with the given type */ <T extends SmbTransport> T unwrap ( Class<T> type ); /** *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbSession.java
*/ <T extends SmbSession> T unwrap ( Class<T> type ); /** * * @return the context this session is attached to */ CIFSContext getContext ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K 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) -
src/test/java/jcifs/tests/OplockTests.java
return getConfigs("smb1", "smb2", "smb30", "smb31"); } @Test public void testOpenOplocked () throws UnknownHostException, IOException { CIFSContext c = getContext(); c = withTestNTLMCredentials(c); try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true) .unwrap(SmbTransportInternal.class);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 6.1K bytes - Viewed (0)