Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 305 for aligned (0.06 seconds)

  1. cmd/os-instrumented.go

    func init() {
    	// Inject metrics.
    	ioutilx.OsOpenFile = OpenFile
    	ioutilx.OpenFileDirectIO = OpenFileDirectIO
    	ioutilx.OsOpen = Open
    }
    
    type osMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [osMetricLast]uint64
    	latency    [osMetricLast]lockedLastMinuteLatency
    }
    
    // time an os action.
    func (o *osMetrics) time(s osMetric) func() {
    	startTime := time.Now()
    	return func() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. cmd/bitrot-streaming.go

    		return closer.Close()
    	}
    	return nil
    }
    
    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    	if offset%b.shardSize != 0 {
    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  4. cmd/data-scanner-metric.go

    )
    
    //go:generate stringer -type=scannerMetric -trimprefix=scannerMetric $GOFILE
    
    type scannerMetric uint8
    
    type scannerMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [scannerMetricLast]uint64
    	latency    [scannerMetricLastRealtime]lockedLastMinuteLatency
    
    	// actions records actions performed.
    	actions        [lifecycle.ActionCount]uint64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * b0b1s7 is the section prefix. If a section is omitted, that means its ranges data exactly matches
     * that of the preceding section.
     *
     * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned.
     *
     * Mappings Data (4,719 bytes)
     * ===========================
     *
     * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset.
     *
     * Mappings may overlap.
     *
     * ASCII-Only
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9K bytes
    - Click Count (0)
  6. doc/asm.html

    <p>
    The <code>PCALIGN</code> pseudo-instruction is used to indicate that the next instruction should be aligned
    to a specified boundary by padding with no-op instructions.
    </p>
    
    <p>
    It is currently supported on arm64, amd64, ppc64, loong64 and riscv64.
    
    For example, the start of the <code>MOVD</code> instruction below is aligned to 32 bytes:
    <pre>
    PCALIGN $32
    MOVD $2, R0
    </pre>
    </p>
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. src/archive/tar/reader.go

    	if len(sparseMap) > 0 {
    		paxHdrs[paxGNUSparseMap] = strings.Join(sparseMap, ",")
    	}
    	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.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  8. cmd/server_test.go

    	getMD5 := getMD5Hash(getContent)
    
    	// Compare putContent and getContent.
    	c.Assert(putMD5, getMD5)
    }
    
    // TestGetPartialObjectMisAligned - tests get object partially miss-aligned.
    // create a large buffer of miss-aligned data and upload it.
    // then make partial range requests to while fetching it back and assert the response content.
    func (s *TestSuiteCommon) TestGetPartialObjectMisAligned(c *check) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            }
        }
    
        @Test
        void testInterpolationWithBasedirAlignedDirectories() throws Exception {
            PomTestWrapper pom = buildPom("basedir-aligned-interpolation");
            assertEquals(
                    new File(pom.getBasedir(), "src/main/java"),
                    new File(pom.getValue("properties/buildMainSrc").toString()));
            assertEquals(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/arm64.s

    	MOVD R3, 257(R17)                          // 3b060491630300f9
    	MOVD R3, 391(R17)                          // 3b1e0691630300f9
    	MOVD R3, 4095(R17)                         // 3bfe3f91630300f9
    
    // large aligned offset, use two instructions(add+ldr/str).
    	MOVB	R1, 0x1001(R2) 		// MOVB		R1, 4097(R2)		// 5b04409161070039
    	MOVB	R1, 0xffffff(R2)	// MOVB		R1, 16777215(R2)	// 5bfc7f9161ff3f39
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Nov 10 17:34:13 GMT 2025
    - 96.1K bytes
    - Click Count (0)
Back to Top