- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for GetContext (0.09 seconds)
-
src/test/java/jcifs/SmbSessionTest.java
when(mockSession.getContext()).thenReturn(mockContext); CIFSContext result1 = mockSession.getContext(); CIFSContext result2 = mockSession.getContext(); assertSame(result1, result2, "getContext() should return consistent values"); verify(mockSession, times(2)).getContext(); } } @Nested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
* authentication. */ public byte[] getContext() { return this.context; } /** * Sets the local security context. This is used by the client * to negotiate local authentication. * * @param context * The local security context. */ public void setContext(final byte[] context) { this.context = context; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
* authentication. */ public byte[] getContext() { return context; } /** * Sets the local security context. This is used by the client * to negotiate local authentication. * * @param context The local security context. */ public void setContext(final byte[] context) { this.context = context; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("getContext should return CIFSContext") void testGetContext() throws CIFSException { // Given SmbResource resource = createMockResource(); when(resource.getContext()).thenReturn(mockContext); // When CIFSContext context = resource.getContext(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertSame(dg, transport.getDigest()); } @Test @DisplayName("Context accessor returns constructor-provided context") void contextAccessor() { assertSame(ctx, transport.getContext()); } @Test @DisplayName("acquire returns same instance") void acquireReturnsSameInstance() { SmbTransportImpl acquired = transport.acquire(); assertSame(transport, acquired);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
} } /** * Get the CIFS context * * @return CIFS context */ public CIFSContext getContext() { return context; } /** * Check if directory notifications are enabled in configuration * * @param config configuration * @return true if notifications are enabledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
public ErrorCategory getErrorCategory() { return errorCode.getCategory(); } public RetryPolicy getRetryPolicy() { return retryPolicy; } public Map<String, Object> getContext() { return Collections.unmodifiableMap(context); } public long getOperationStartTime() { return operationStartTime; } public String getOperationName() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// Then assertArrayEquals(testTargetInfo, message.getTargetInformation()); } @Test @DisplayName("setContext and getContext should work correctly") void testGetSetContext() { // Given CIFSContext mockContext = createMockContext(); Type2Message message = new Type2Message(mockContext);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
return tensorflow::unwrap(op)->Name().c_str(); } TFE_Context* TFE_OpGetContext(const TFE_Op* op, TF_Status* status) { return tensorflow::wrap(tensorflow::unwrap(op)->GetContext()); } void TFE_OpSetDevice(TFE_Op* op, const char* device_name, TF_Status* status) { status->status = tensorflow::unwrap(op)->SetDeviceName(device_name); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
return null; } @Override public String getContextPath() { return null; } @Override public ServletContext getContext(String uripath) { return null; } @Override public int getMajorVersion() { return 0; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0)