Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 446 for shan (0.05 seconds)

  1. cmd/erasure-decode.go

    	}
    	var newBufLK sync.RWMutex
    
    	if p.offset+p.shardSize > p.shardFileSize {
    		p.shardSize = p.shardFileSize - p.offset
    	}
    	if p.shardSize == 0 {
    		return newBuf, nil
    	}
    
    	readTriggerCh := make(chan bool, len(p.readers))
    	defer xioutil.SafeClose(readTriggerCh) // close the channel upon return
    
    	for i := 0; i < p.dataBlocks; i++ {
    		// Setup read triggers for p.dataBlocks number of reads so that it reads in parallel.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  2. cmd/os_unix.go

    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    			return err
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * Handler classes in subpackages and registering them as web or file protocols
         * based on their PROTOCOL_TYPE field.
         *
         * @param basePackage the base package to scan for protocol handlers
         */
        protected void loadProtocols(final String basePackage) {
            final List<String> subPackages = new ArrayList<>();
            final String path = basePackage.replace('.', '/');
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 12.4K bytes
    - Click Count (1)
  4. cmd/bucket-replication-utils.go

    type replicationResyncer struct {
    	// map of bucket to their resync status
    	statusMap      map[string]BucketReplicationResyncStatus
    	workerSize     int
    	resyncCancelCh chan struct{}
    	workerCh       chan struct{}
    	sync.RWMutex
    }
    
    const (
    	replicationDir      = ".replication"
    	resyncFileName      = "resync.bin"
    	resyncMetaFormat    = 1
    	resyncMetaVersionV1 = 1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  5. internal/dsync/drwmutex.go

    // GetLock tries to get a write lock on dm before the timeout elapses.
    //
    // If the lock is already in use, the calling go routine
    // blocks until either the mutex becomes available and return success or
    // more time has passed than the timeout value and return false.
    func (dm *DRWMutex) GetLock(ctx context.Context, cancel context.CancelFunc, id, source string, opts Options) (locked bool) {
    	isReadLock := false
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  6. api/go1.7.txt

    pkg context, type CancelFunc func()
    pkg context, type Context interface { Deadline, Done, Err, Value }
    pkg context, type Context interface, Deadline() (time.Time, bool)
    pkg context, type Context interface, Done() <-chan struct
    pkg context, type Context interface, Err() error
    pkg context, type Context interface, Value(interface{}) interface{}
    pkg context, var Canceled error
    pkg context, var DeadlineExceeded error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 28 15:08:11 GMT 2016
    - 13.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    /**
     * This class used to provide Kerberos feature when setup GSSContext.
     *
     * @author Shun
     */
    class Kerb5Context implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(Kerb5Context.class);
    
        private static final ASN1ObjectIdentifier KRB5_MECH_OID;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  8. cmd/xl-storage-format-v2_test.go

    		rng.Shuffle(len(vers), func(i, j int) {
    			vers[i], vers[j] = vers[j], vers[i]
    		})
    		var entries []chan metaCacheEntry
    		for _, v := range vers {
    			v.cached = nil
    			ch := make(chan metaCacheEntry, 1)
    			ch <- v
    			close(ch)
    			entries = append(entries, ch)
    		}
    		out := make(chan metaCacheEntry, 1)
    		err := mergeEntryChannels(t.Context(), entries, out, 1)
    		if err != nil {
    			t.Fatal(err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of different types of sets and derived collections from sets.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class SetGenerators {
    
      public static class ImmutableSetCopyOfGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. internal/grid/manager.go

    	Hosts        []string      // All hosts, including local in the grid.
    	Incoming     func(n int64) // Record incoming bytes.
    	Outgoing     func(n int64) // Record outgoing bytes.
    	BlockConnect chan struct{} // If set, incoming and outgoing connections will be blocked until closed.
    	RoutePath    string
    	TraceTo      *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]
    	Dialer       ConnDialer
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Nov 12 20:41:41 GMT 2024
    - 10.8K bytes
    - Click Count (0)
Back to Top