Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 894 for Contexto (0.09 sec)

  1. cmd/callhome.go

    package cmd
    
    import (
    	"bytes"
    	"compress/gzip"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math/rand"
    	"net/url"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second)
    
    // initCallhome will start the callhome task in the background.
    func initCallhome(ctx context.Context, objAPI ObjectLayer) {
    	if !globalCallhomeConfig.Enabled() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/MD4.java

        @Override
        public void engineReset() {
            // initial values of MD4 i.e. A, B, C, D
            // as per rfc-1320; they are low-order byte first
            context[0] = 0x67452301;
            context[1] = 0xEFCDAB89;
            context[2] = 0x98BADCFE;
            context[3] = 0x10325476;
            count = 0L;
            for (int i = 0; i < BLOCK_LENGTH; i++) {
                buffer[i] = 0;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. cmd/storage-rest_test.go

    			continue
    		}
    		err := storage.AppendFile(t.Context(), testCase.volumeName, testCase.objectName, testCase.data)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			data, err := storage.ReadAll(t.Context(), testCase.volumeName, testCase.objectName)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. README.md

    ```java
    import jcifs.CIFSContext;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthenticator;
    
    // Create context with credentials
    CIFSContext context = new BaseContext(new jcifs.config.PropertyConfiguration());
    NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("domain", "username", "password");
    CIFSContext authContext = context.withCredentials(auth);
    
    // Use authenticated context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

                        // Multiple threads accessing context simultaneously
                        for (int j = 0; j < 50; j++) {
                            context.getConfig();
                            context.getBufferCache();
                            context.getDfs();
                            context.getNameServiceClient();
                            context.getSIDResolver();
                            context.getTransportPool();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportPoolTest.java

                when(transportPool.getChallenge(context, address)).thenReturn(challenge);
                doNothing().when(transportPool).logon(context, address);
    
                // When
                byte[] retrievedChallenge = transportPool.getChallenge(context, address);
                transportPool.logon(context, address);
    
                // Then
                assertNotNull(retrievedChallenge);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            DirectoryLeaseContext context =
                    new DirectoryLeaseContext(key, DirectoryLeaseState.DIRECTORY_FULL, DirectoryCacheScope.RECURSIVE_TREE);
    
            context.setMaxCacheAge(60000L);
            context.setNotificationEnabled(true);
            context.setNotificationFilter(0x1F);
    
            // Test encoding and decoding roundtrip
            byte[] buffer = new byte[context.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. cmd/admin-handler-utils.go

    // specific error.
    func toAdminAPIErrCode(ctx context.Context, err error) APIErrorCode {
    	if errors.Is(err, errErasureWriteQuorum) {
    		return ErrAdminConfigNoQuorum
    	}
    	return toAPIErrorCode(ctx, err)
    }
    
    // wraps export error for more context
    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

         *
         * @param context
         *            The local security context.
         */
        public void setContext(final byte[] context) {
            this.context = context;
        }
    
        @Override
        public byte[] toByteArray() throws IOException {
            int size = 48;
            int flags = getFlags();
            final String targetName = getTarget();
            final byte[] targetInformationBytes = getTargetInformation();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    func (client *peerRESTClient) GetLocks(ctx context.Context) (lockMap map[string][]lockRequesterInfo, err error) {
    	resp, err := getLocksRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    		return nil, err
    	}
    	return *resp, nil
    }
    
    // LocalStorageInfo - fetch server information for a remote node.
    func (client *peerRESTClient) LocalStorageInfo(ctx context.Context, metrics bool) (info StorageInfo, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top