Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 490 for Block (0.19 sec)

  1. cmd/namespace-lock.go

    	timeout.LogSuccess(UTCNow().Sub(start))
    	return LockContext{ctx: newCtx, cancel: cancel}, nil
    }
    
    // Unlock - block until write lock is released.
    func (di *distLockInstance) Unlock(lc LockContext) {
    	if lc.cancel != nil {
    		lc.cancel()
    	}
    	di.rwMutex.Unlock(lc.ctx)
    }
    
    // RLock - block until read lock is taken or timeout has occurred.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. cmd/erasure-utils.go

    	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
    		// from subsequent blocks.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                block()
            }
    
        internal
        fun checkBinaryCompatibleJava(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
            runJavaBinaryCompatibilityCheck(v1, v2) {
                assertBinaryCompatible()
                block()
            }
    
        internal
        fun checkNotBinaryCompatibleJava(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K 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. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       * be removed from the execution schedule.
       */
      fun cancelAll() {
        lock.assertNotHeld()
    
        taskRunner.lock.withLock {
          if (cancelAllAndDecide()) {
            taskRunner.kickCoordinator(this)
          }
        }
      }
    
      fun shutdown() {
        lock.assertNotHeld()
    
        taskRunner.lock.withLock {
          shutdown = true
          if (cancelAllAndDecide()) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K 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. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Mar 25 23:10:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. 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)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      fun write(
        name: String,
        tagClass: Int,
        tag: Long,
        block: (BufferedSink) -> Unit,
      ) {
        val constructedBit: Int
        val content = Buffer()
    
        stack.add(content)
        constructed = false // The enclosed object written in block() is not constructed.
        path += name
        try {
          block(content)
          constructedBit = if (constructed) 0b0010_0000 else 0
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top