- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,038 for contexts (0.03 sec)
-
src/main/java/jcifs/CIFSContext.java
*/ package jcifs; import java.net.URLStreamHandler; /** * Encapsulation of client context * * * A context holds the client configuration, shared services as well as the active credentials. * * Usually you will want to create one context per client configuration and then * multiple sub-contexts using different credentials (if necessary). *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); } try { byte[] newHash = calculateHash(context.getCurrentHash(), messageData, context.getHashAlgorithm()); context.updateHash(newHash); log.debug("Updated preauth hash for session {} with {} bytes of data", sessionId, messageData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/cmd/api/main_test.go
t.Fatal(err) } nextFiles = next } for _, c := range contexts { c.Compiler = build.Default.Compiler } walkers := make([]*Walker, len(contexts)) var wg sync.WaitGroup for i, context := range contexts { i, context := i, context wg.Add(1) go func() { defer wg.Done() walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src")) }() } wg.Wait()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
this.createContexts = contexts.toArray(new CreateContextResponse[0]); } if (log.isDebugEnabled()) { log.debug("Opened " + this.fileName + ": " + Hexdump.toHexString(this.fileId)); } return bufferIndex - start; } /** * Factory method to create appropriate context response based on context name * @param nameBytes context name bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
import jcifs.Decodable; /** * SMB2 Negotiate Context response data structure. * * This class represents negotiate contexts returned by the server * in response to negotiate context requests. * * @author mbechler */ public interface NegotiateContextResponse extends Decodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java
import jcifs.Encodable; /** * SMB2 Negotiate Context request data structure. * * This class represents negotiate contexts used in SMB 3.1.1 * for capability negotiation and security enhancements. * * @author mbechler */ public interface NegotiateContextRequest extends Encodable { /** * Gets the negotiate context type. * * @return the SMB2 negotiate context type */ int getContextType();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// At offset 128 + 64 (header start), set context with excessive data length int contextPos = 192; SMBUtil.writeInt2(1, buffer, contextPos); // Context type SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024) // Add padding for 8-byte alignment SMBUtil.writeInt2(0, buffer, contextPos + 4); // ReservedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange NegotiateContextResponse[] contexts = new NegotiateContextResponse[] { new PreauthIntegrityNegotiateContext(), new EncryptionNegotiateContext() }; // Act & Assert for (NegotiateContextResponse context : contexts) { assertNotNull(context); assertTrue(context.getContextType() > 0); } } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java
* <p> * This interface allows plugins and extensions to define and register additional path scopes * beyond the standard ones provided by Maven. Path scopes define how dependencies are used * in different contexts, such as compilation, testing, or runtime. * <p> * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// Test potentially retriable errors SmbException sharingViolation = new SmbException(NtStatus.NT_STATUS_SHARING_VIOLATION, false); // Sharing violations might be retriable in some contexts // The implementation determines this assertNotNull(sharingViolation); } @Test @DisplayName("Should preserve stack trace information") void testStackTracePreservation() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)