Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,520 for _context (0.04 sec)

  1. cmd/metacache-set.go

    // Cache will be bypassed.
    // Context cancellation will be respected but may take a while to effectuate.
    func listPathRaw(ctx context.Context, opts listPathRawOptions) (err error) {
    	disks := opts.disks
    	if len(disks) == 0 {
    		return fmt.Errorf("listPathRaw: 0 drives provided")
    	}
    
    	// Cancel upstream if we finish before we expect.
    	ctx, cancel := context.WithCancel(ctx)
    	defer cancel()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. tests/generics_test.go

    package tests_test
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"reflect"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    
    	"github.com/google/uuid"
    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestGenericsCreate(t *testing.T) {
    	ctx := context.Background()
    
    	user := User{Name: "TestGenericsCreate", Age: 18}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/main/java/jcifs/DfsResolver.java

     *
     * @author mbechler
     *
     * <p>This interface is intended for internal use.</p>
     */
    public interface DfsResolver {
    
        /**
         * Checks if a domain is trusted for DFS operations
         * @param tf the CIFS context
         * @param domain the domain name to check
         * @return whether the given domain is trusted
         * @throws CIFSException if the operation fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         *
         * @param serverAddress the witness server address
         * @param context the CIFS context
         * @throws IOException if connection fails
         */
        public WitnessRpcClient(InetAddress serverAddress, CIFSContext context) throws IOException {
            this.serverAddress = serverAddress;
            this.context = context;
    
            try {
                // Create DCE/RPC handle for witness service
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java

     * application-specific data to provide context when invoking session methods.</p>
     *
     * <p>This trace information is particularly useful for:</p>
     * <ul>
     *   <li>Debugging and troubleshooting request flows</li>
     *   <li>Audit logging of session operations</li>
     *   <li>Performance monitoring of nested operations</li>
     * </ul>
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    func (c *SiteReplicationSys) Init(ctx context.Context, objAPI ObjectLayer) error {
    	go c.startHealRoutine(ctx, objAPI)
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for {
    		err := c.loadFromDisk(ctx, objAPI)
    		if err == errConfigNotFound {
    			return nil
    		}
    		if err == nil {
    			break
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  7. cmd/veeam-sos-api.go

    		return false
    	}
    }
    
    // isVeeamClient - returns true if the request is from Veeam client.
    func isVeeamClient(ctx context.Context) bool {
    	ri := logger.GetReqInfo(ctx)
    	return ri != nil && strings.Contains(ri.UserAgent, veeamAgentSubstr)
    }
    
    func veeamSOSAPIHeadObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	gr, err := veeamSOSAPIGetObject(ctx, bucket, object, nil, opts)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. internal/stmt_store/stmt_store.go

    	s.lru.Remove(key)
    }
    
    type ConnPool interface {
    	PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
    }
    
    // New creates a new Stmt object for executing SQL queries.
    // It caches the Stmt object for future use and handles preparation and error states.
    // Parameters:
    //
    //	ctx: Context for the request, used to carry deadlines, cancellation signals, etc.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        @Test
        @DisplayName("Should encode context correctly")
        void testEncode() {
            byte[] buffer = new byte[leaseContext.size()];
            int encoded = leaseContext.encode(buffer, 0);
    
            assertEquals(leaseContext.size(), encoded);
    
            // Verify context header structure according to MS-SMB2
            // Next field (4 bytes) - should be 0 for last/single context
            assertEquals(0, SMBUtil.readInt4(buffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. cmd/bucket-object-lock.go

    }
    
    // enforceRetentionForDeletion checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    func enforceRetentionForDeletion(ctx context.Context, objInfo ObjectInfo) (locked bool) {
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top