Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for blocky (0.14 sec)

  1. internal/config/storageclass/storage-class.go

    	Optimize      = "optimize"
    	InlineBlock   = "inline_block"
    
    	// Reduced redundancy storage class environment variable
    	RRSEnv = "MINIO_STORAGE_CLASS_RRS"
    	// Standard storage class environment variable
    	StandardEnv = "MINIO_STORAGE_CLASS_STANDARD"
    	// Optimize storage class environment variable
    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    					// Number of full blocks in skipped area
    					seqNum = uint32(compOff / SSEDAREPackageBlockSize)
    					// Skip this many inside a decrypted block to get to compression block start
    					decryptSkip = compOff % SSEDAREPackageBlockSize
    					// Skip this number of full blocks.
    					skipEnc := compOff / SSEDAREPackageBlockSize
    					skipEnc *= sseDAREEncPackageBlockSize
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. cmd/peer-rest-client.go

    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    		for {
    			// Blocks until context is canceled or an error occurs.
    			client.doTrace(ctx, traceCh, traceOpts)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    // nearest block edge where 0 <= n < blockSize.
    func blockPadding(offset int64) (n int64) {
    	return -offset & (blockSize - 1)
    }
    
    var zeroBlock block
    
    type block [blockSize]byte
    
    // Convert block to any number of formats.
    func (b *block) toV7() *headerV7       { return (*headerV7)(b) }
    func (b *block) toGNU() *headerGNU     { return (*headerGNU)(b) }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    func (h *healSequence) stop() {
    	h.cancelCtx()
    }
    
    // pushHealResultItem - pushes a heal result item for consumption in
    // the heal-status API. It blocks if there are
    // maxUnconsumedHealResultItems. When it blocks, the heal sequence
    // routine is effectively paused - this happens when the server has
    // accumulated the maximum number of heal records per heal
    // sequence. When the client consumes further records, the heal
    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)
  6. internal/grid/connection.go

    }
    
    // WaitForConnect will block until a connection has been established or
    // the context is canceled, in which case the context error is returned.
    func (c *Connection) WaitForConnect(ctx context.Context) error {
    	if debugPrint {
    		fmt.Println(c.Local, "->", c.Remote, "WaitForConnect")
    		defer fmt.Println(c.Local, "->", c.Remote, "WaitForConnect done")
    	}
    	c.connChange.L.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    		dm2nd.Lock(id, source)
    
    		// Release lock after 10 seconds
    		go func() {
    			time.Sleep(2 * testDrwMutexAcquireTimeout)
    			// fmt.Println("Unlocking dm2")
    
    			dm2nd.Unlock(context.Background())
    		}()
    
    		dm3rd.Lock(id, source)
    
    		// fmt.Printf("3rd lock obtained after 1st & 2nd locks are released\n")
    		time.Sleep(testDrwMutexRefreshCallTimeout)
    
    		dm3rd.Unlock(context.Background())
    	}()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. internal/grid/handlers.go

    	// There is flow control in both directions.
    	StreamHandler struct {
    		// Handle an incoming request. Initial payload is sent.
    		// Additional input packets (if any) are streamed to request.
    		// Upstream will block when request channel is full.
    		// Response packets can be sent at any time.
    		// Any non-nil error sent as response means no more responses are sent.
    		Handle StreamHandlerFn
    
    		// Subroute for handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    		if len(extra) < fieldSize {
    			break
    		}
    		fieldBuf := extra.sub(fieldSize)
    
    		switch fieldTag {
    		case zip64ExtraID:
    			f.zip64 = true
    
    			// update directory values from the zip64 extra block.
    			// They should only be consulted if the sizes read earlier
    			// are maxed out.
    			// See golang.org/issue/13367.
    			if needUSize {
    				needUSize = false
    				if len(fieldBuf) < 8 {
    					return ErrFormat
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    					write([]byte(err.Error()))
    				} else {
    					write([]byte{0})
    				}
    				xioutil.SafeClose(doneCh)
    				return
    			case block := <-blockCh:
    				var tmp [5]byte
    				tmp[0] = 2
    				binary.LittleEndian.PutUint32(tmp[1:], uint32(len(block)))
    				write(tmp[:])
    				write(block)
    				if canWrite {
    					w.(http.Flusher).Flush()
    				}
    			}
    		}
    	}()
    	return &h
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top