Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for blocky (0.26 sec)

  1. 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)
  2. doc/go1.17_spec.html

    </pre>
    
    
    <h2 id="Blocks">Blocks</h2>
    
    <p>
    A <i>block</i> is a possibly empty sequence of declarations and statements
    within matching brace brackets.
    </p>
    
    <pre class="ebnf">
    Block = "{" StatementList "}" .
    StatementList = { Statement ";" } .
    </pre>
    
    <p>
    In addition to explicit blocks in the source code, there are implicit blocks:
    </p>
    
    <ol>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const SYS_CLOCK_GETCPUCLOCKID2 = 247 #53466
    pkg syscall (freebsd-riscv64), const SYS_CLOCK_GETCPUCLOCKID2 ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_CLOCK_GETRES = 234 #53466
    pkg syscall (freebsd-riscv64), const SYS_CLOCK_GETRES ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_CLOCK_GETTIME = 232 #53466
    pkg syscall (freebsd-riscv64), const SYS_CLOCK_GETTIME ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  4. 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)
  5. doc/asm.html

    directive declares the symbol <code>runtime·profileloop</code> and the instructions
    that follow form the body of the function.
    The last instruction in a <code>TEXT</code> block must be some sort of jump, usually a <code>RET</code> (pseudo-)instruction.
    (If it's not, the linker will append a jump-to-itself instruction; there is no fallthrough in <code>TEXTs</code>.)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    			b.Write(buf[:1])
    		}
    	}
    }
    
    func BenchmarkBufferWriteBlock(b *testing.B) {
    	block := make([]byte, 1024)
    	for _, n := range []int{1 << 12, 1 << 16, 1 << 20} {
    		b.Run(fmt.Sprintf("N%d", n), func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				var bb Buffer
    				for bb.Len() < n {
    					bb.Write(block)
    				}
    			}
    		})
    	}
    }
    
    func BenchmarkBufferAppendNoCopy(b *testing.B) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    		// Write the initial GNU header.
    		var blk block
    		gnu := blk.toGNU()
    		sparse := gnu.sparse()
    		copy(gnu.realSize(), size)
    		sps = populateSparseMap(sparse, sps)
    		if format != FormatUnknown {
    			blk.setFormat(format)
    		}
    		out = append(out, blk[:]...)
    
    		// Write extended sparse blocks.
    		for len(sps) > 0 {
    			var blk block
    			sps = populateSparseMap(blk.toSparse(), sps)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    		}
    		pre = cur
    	}
    	return true
    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const LOCK_EX = 2
    pkg syscall (freebsd-arm64), const LOCK_EX ideal-int
    pkg syscall (freebsd-arm64), const LOCK_NB = 4
    pkg syscall (freebsd-arm64), const LOCK_NB ideal-int
    pkg syscall (freebsd-arm64), const LOCK_SH = 1
    pkg syscall (freebsd-arm64), const LOCK_SH ideal-int
    pkg syscall (freebsd-arm64), const LOCK_UN = 8
    pkg syscall (freebsd-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg syscall (darwin-arm64), const LOCK_EX = 2
    pkg syscall (darwin-arm64), const LOCK_EX ideal-int
    pkg syscall (darwin-arm64), const LOCK_NB = 4
    pkg syscall (darwin-arm64), const LOCK_NB ideal-int
    pkg syscall (darwin-arm64), const LOCK_SH = 1
    pkg syscall (darwin-arm64), const LOCK_SH ideal-int
    pkg syscall (darwin-arm64), const LOCK_UN = 8
    pkg syscall (darwin-arm64), const LOCK_UN ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
Back to top