Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for move (0.13 sec)

  1. internal/s3select/csv/reader.go

    	for len(r.current) <= r.recordsRead {
    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    		//nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer.
    		r.csvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/logger/console.go

    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	if source.noWait {
    		select {
    		case globalBackgroundHealRoutine.tasks <- task:
    			if serverDebugLog {
    				fmt.Printf("Task in the queue: %#v\n", task)
    			}
    		default:
    			// task queue is full, no more workers, we shall move on and heal later.
    			return nil
    		}
    		// Don't wait for result
    		return nil
    	}
    
    	// respCh must be set to wait for result.
    	// We make it size 1, so a result can always be written
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool-rebalance.go

    							NoDecryption: true,
    							NoLock:       true,
    							NoAuditLog:   true,
    						})
    					if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    						// object deleted by the application, nothing to do here we move on.
    						ignore = true
    						stopFn(nil)
    						break
    					}
    					if err != nil {
    						failure = true
    						rebalanceLogIf(ctx, err)
    						stopFn(err)
    						continue
    					}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    							NoDecryption: true,
    							NoLock:       true,
    							NoAuditLog:   true,
    						})
    					if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    						// object deleted by the application, nothing to do here we move on.
    						ignore = true
    						stopFn(nil)
    						break
    					}
    					if err != nil && !ignore {
    						// if usage-cache.bin is not readable log and ignore it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool.go

    			continue
    		}
    		err := pool.AbortMultipartUpload(ctx, bucket, object, uploadID, opts)
    		if err == nil {
    			return nil
    		}
    		if _, ok := err.(InvalidUploadID); ok {
    			// upload id not found move to next pool
    			continue
    		}
    		return err
    	}
    	return InvalidUploadID{
    		Bucket:   bucket,
    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/net_test.go

    		// gets preserved and moved into left most elements, regardless of
    		// IP based sorting.
    		{
    			ipList:       []string{"hostname1", "10.0.0.13", "hostname2", "127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"hostname1", "hostname2", "192.168.1.106", "10.0.0.13", "127.0.0.1"},
    		},
    		// With same higher octets, preferentially move the localhost.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    		p.readerToBuf[next] = i
    		p.readerToBuf[i] = next
    		next++
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    func (s *xlStorage) openFileSync(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	return s.openFile(filePath, mode|writeMode, skipParent)
    }
    
    func (s *xlStorage) openFile(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	if skipParent == "" {
    		skipParent = s.drivePath
    	}
    	// Create top level directories if they don't exist.
    	// with mode 0777 mkdir honors system umask.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/local-locker.go

    					modified = false
    					break
    				}
    				modified = true
    				// Remove the appropriate lock.
    				lris = append(lris[:i], lris[i+1:]...)
    				// Check same i
    			} else {
    				// Move to next
    				i++
    			}
    		}
    		if modified {
    			l.lockMap[k] = lris
    		}
    	}
    }
    
    func newLocker() *localLocker {
    	return &localLocker{
    		lockMap: make(map[string][]lockRequesterInfo, 1000),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top