- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,384 for _context (0.04 sec)
-
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/create/Smb2CreateResponseTest.java
// Update base to point to the context area int offsetFieldPos = base.length - 8; // position of CreateContextsOffset SMBUtil.writeInt4(contextStartOffsetFromHeader, base, offsetFieldPos); SMBUtil.writeInt4(ctx.length, base, offsetFieldPos + 4); // Assemble full body: base (fixed-size fields only), but actual context bytes sit elsewhere in the full packet
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/sts-handlers_test.go
// re-encoding them. (FIXME?) for k := range content.policies { content.policies[k] = nil gotContent.policies[k] = nil } if !reflect.DeepEqual(content.policies, gotContent.policies) { c.Fatalf("import %d: policies mismatch: expected: %v, got: %v", caseNum, content.policies, gotContent.policies) } } if !reflect.DeepEqual(content.ldapUserPolicyMappings, gotContent.ldapUserPolicyMappings) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 100.2K bytes - Viewed (1) -
cmd/erasure-object_test.go
package cmd import ( "bytes" "context" "crypto/md5" crand "crypto/rand" "errors" "fmt" "io" "os" "path/filepath" "runtime" "strconv" "testing" "github.com/dustin/go-humanize" "github.com/minio/minio/internal/config/storageclass" ) func TestRepeatPutObjectPart(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() var objLayer ObjectLayer
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
cmd/auth-handler_test.go
// Empty Content-Md5 header. {mustNewSignedEmptyMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest}, // Short Content-Md5 header. {mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest}, // When request is properly signed, but has bad Content-MD5 header.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (0) -
cmd/encryption-v1.go
if err != nil { return err } } // If the context does not contain the bucket key // we must add it for key generation. However, // the context must be stored exactly like the // client provided it. Therefore, we create a copy // of the client provided context and add the bucket // key, if not present. kmsCtx := kms.Context{} maps.Copy(kmsCtx, cryptoCtx) if _, ok := kmsCtx[bucket]; !ok {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
void testDefaultConstructor() { // Act context = new EncryptionNegotiateContext(); // Assert assertEquals(EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE, context.getContextType()); assertNull(context.getCiphers()); } @Test @DisplayName("Should encode context correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
} /** * Test negotiate context offset validation. */ @Test public void testInvalidNegotiateContextOffset() { byte[] buffer = createBasicNegotiateResponseBuffer(); // Set SMB 3.1.1 dialect and valid context count SMBUtil.writeInt2(0x0311, buffer, 4); SMBUtil.writeInt2(1, buffer, 6); // Set negative negotiate context offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
cmd/consolelogger.go
// the console logging pub sub system func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys { return &HTTPConsoleLoggerSys{ pubsub: pubsub.New[log.Info, madmin.LogMask](8), console: console.New(w), logBuf: ring.New(defaultLogBufferCount), } } // IsOnline always true in case of console logger func (sys *HTTPConsoleLoggerSys) IsOnline(_ context.Context) bool { return true }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.4K bytes - Viewed (0) -
cmd/erasure-metadata.go
} // pickValidFileInfo - picks one valid FileInfo content and returns from a // slice of FileInfo. func pickValidFileInfo(ctx context.Context, metaArr []FileInfo, modTime time.Time, etag string, quorum int) (FileInfo, error) { return findFileInfoInQuorum(ctx, metaArr, modTime, etag, quorum) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21.3K bytes - Viewed (0)