- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,770 for contexto (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@Test @DisplayName("Should return negotiate contexts") void testGetNegotiateContexts() throws Exception { // Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // WhenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
if (dataLen < 0 || dataLen > 1024) { // 1KB max per context throw new SMBProtocolDecodingException( "Invalid negotiate context data length: " + dataLen + " at position " + i + " (must be 0-1024)"); } ncpos += 4; ncpos += 4; // Reserved
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// Context with share and at root SmbResourceLocatorImpl base2 = locator("smb://server/share/"); SmbResourceLocator context2 = mock(SmbResourceLocator.class); when(context2.getShare()).thenReturn("share"); when(context2.getDfsReferral()).thenReturn(null); when(context2.getUNCPath()).thenReturn("\\"); when(context2.getURLPath()).thenReturn("/share/");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (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();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Implement lease key generation and management - [ ] Add lease context to Create request/response - [ ] Implement lease break notification handling - [ ] Modify SmbFile to support lease-based caching - [ ] Add lease upgrade/downgrade logic - [ ] Implement lease epoch tracking for v2 leases #### 1.3 Integration Points - Modify `Smb2CreateRequest` to include lease contexts - Update `SmbFile` caching logic to use leases
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (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();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (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()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Feb 20 03:25:33 GMT 2025 - 31.4K bytes - Click Count (0) -
internal/etag/reader.go
// encryptedContent := Encrypt(compressedContent) // // // Now, we need an io.Reader that can access // // the ETag computed over the content. // reader := etag.Wrap(encryptedContent, content) func Wrap(wrapped, content io.Reader) io.Reader { if t, ok := content.(Tagger); ok { return wrapReader{ Reader: wrapped, Tagger: t, } } return wrapReader{ Reader: wrapped, } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/hash/reader.go
// NewReader enforces S3 compatibility strictly by ensuring caller // does not send more content than specified size. func NewReader(ctx context.Context, src io.Reader, size int64, md5Hex, sha256Hex string, actualSize int64) (*Reader, error) { return newReader(ctx, src, size, md5Hex, sha256Hex, actualSize, false, nil) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0)