Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 2,101 for content (0.03 sec)

  1. cmd/erasure_test.go

    		buffer := make([]byte, len(data), 2*len(data))
    		copy(buffer, data)
    
    		erasure, err := NewErasure(t.Context(), test.dataBlocks, test.parityBlocks, blockSizeV2)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create erasure: %v", i, err)
    		}
    		encoded, err := erasure.EncodeData(t.Context(), buffer)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encode data: %v", i, err)
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-usage.go

    		"Cluster object version count distribution", "range")
    )
    
    // loadClusterUsageObjectMetrics - reads cluster usage metrics.
    //
    // This is a `MetricsLoaderFn`.
    func loadClusterUsageObjectMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	// data usage has not captured any data yet.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    func (d *dynamicSleeper) Timer(ctx context.Context) func() {
    	t := time.Now()
    	return func() {
    		doneAt := time.Now()
    		d.Sleep(ctx, doneAt.Sub(t))
    	}
    }
    
    // Sleep sleeps the specified time multiplied by the sleep factor.
    // If the factor is updated the sleep will be done again with the new factor.
    func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) {
    	for {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

    import jcifs.Encodable;
    
    /**
     * SMB2 Create Context request interface. This interface defines the contract for
     * context data included in SMB2 Create requests.
     *
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * Get the name of this create context.
         * @return context name as byte array
         */
        byte[] getName();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. cmd/local-locker.go

    	for _, resource := range resources {
    		_, lockTaken := l.lockMap[resource]
    		if lockTaken {
    			return false
    		}
    	}
    	return true
    }
    
    func (l *localLocker) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	if len(args.Resources) > maxDeleteList {
    		return false, fmt.Errorf("internal error: localLocker.Lock called with more than %d resources", maxDeleteList)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            NegotiateContextRequest[] contexts = request.getNegotiateContexts();
            assertNotNull(contexts);
            assertEquals(2, contexts.length);
    
            // Verify preauth context
            assertTrue(contexts[0] instanceof PreauthIntegrityNegotiateContext);
            assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, contexts[0].getContextType());
    
            // Verify encryption context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. api/go1.10.txt

    pkg crypto/x509/pkix, method (RDNSequence) String() string
    pkg database/sql, func OpenDB(driver.Connector) *DB
    pkg database/sql/driver, type Connector interface { Connect, Driver }
    pkg database/sql/driver, type Connector interface, Connect(context.Context) (Conn, error)
    pkg database/sql/driver, type Connector interface, Driver() Driver
    pkg database/sql/driver, type DriverContext interface { OpenConnector }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        private final CIFSContext context;
        private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
    
        private volatile boolean shutdown = false;
    
        /**
         * Create a new persistent handle manager
         * @param context the CIFS context
         */
        public PersistentHandleManager(CIFSContext context) {
            this.context = context;
            this.handles = new ConcurrentHashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

         */
        public static CrawlerContext getCrawlerContext() {
            return ROBOT_CONTEXT_THREAD_LOCAL.get();
        }
    
        /**
         * Sets the current {@link CrawlerContext} for the current thread.
         * If the provided {@code crawlerContext} is {@code null}, the context is removed from the thread-local storage.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

        }
    
        /**
         * Sets the context handle for the async notify request.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top