Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 358 for block (0.15 sec)

  1. cmd/erasure-utils.go

    	// Counter to increment total written.
    	var totalWritten int64
    
    	// Write all data blocks to dst.
    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       */
      fun schedule(
        name: String,
        delayNanos: Long = 0L,
        block: () -> Long,
      ) {
        schedule(
          object : Task(name) {
            override fun runOnce(): Long {
              return block()
            }
          },
          delayNanos,
        )
      }
    
      /**
       * Executes [block] once on a task runner thread.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
         * last expression in that block AND the block itself is used -- a
         * recursive call to `isUsed`, one level higher in the syntax tree.
         *
         * The methods are _conservative_, erring on the side of answering `true`.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. docs/en/docs/css/custom.css

    .termynal-comment {
      color: #4a968f;
      font-style: italic;
      display: block;
    }
    
    .termy {
      /* For right to left languages */
      direction: ltr;
    }
    
    .termy [data-termynal] {
      white-space: pre-wrap;
    }
    
    a.external-link {
      /* For right to left languages */
      direction: ltr;
      display: inline-block;
    }
    
    a.external-link::after {
      /* \00A0 is a non-breaking space
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    	return paxHdrs, nil
    }
    
    // readHeader reads the next block header and assumes that the underlying reader
    // is already aligned to a block boundary. It returns the raw block of the
    // header in case further processing is required.
    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. docs/en/overrides/main.html

            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/cryptapi-banner.svg" />
          </a>
        </div>
        <div class="item">
    HTML
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Mar 25 23:10:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/BUILD

        deps = [
            "//tensorflow/c:env",
        ],
    )
    
    cc_library(
        name = "cleanup",
        hdrs = ["cleanup.h"],
    )
    
    cc_library(
        name = "ram_file_block_cache",
        srcs = ["ram_file_block_cache.cc"],
        hdrs = ["ram_file_block_cache.h"],
        deps = [
            ":cleanup",
            "//tensorflow/c:env",
            "//tensorflow/c:logging",
            "//tensorflow/c:tf_status",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. internal/s3select/csv/reader.go

    			r.columnNames = columns
    		}
    	}
    
    	r.bufferPool.New = func() interface{} {
    		return make([]byte, csvSplitSize+1024)
    	}
    
    	// Return first block
    	next, nextErr := r.nextSplit(csvSplitSize, r.bufferPool.Get().([]byte))
    	// Check if first block is valid.
    	if !utf8.Valid(next) {
    		return errInvalidTextEncodingError()
    	}
    
    	// Create queue
    	r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0))
    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)
  9. cmd/erasure-decode.go

    	var bytesWritten int64
    	var bufs [][]byte
    	for block := startBlock; block <= endBlock; block++ {
    		var blockOffset, blockLength int64
    		switch {
    		case startBlock == endBlock:
    			blockOffset = offset % e.blockSize
    			blockLength = length
    		case block == startBlock:
    			blockOffset = offset % e.blockSize
    			blockLength = e.blockSize - blockOffset
    		case block == endBlock:
    			blockOffset = 0
    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)
  10. src/main/java/org/codelibs/fess/query/QueryCommand.java

                return QueryBuilders.matchPhraseQuery(f, text);
            }
    
            final UnicodeBlock block = UnicodeBlock.of(text.codePointAt(0));
            if (block == UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS //
                    || block == UnicodeBlock.HIRAGANA //
                    || block == UnicodeBlock.KATAKANA //
                    || block == UnicodeBlock.HANGUL_SYLLABLES //
            ) {
                return QueryBuilders.prefixQuery(f, text);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top