Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 474 for aligned (0.14 seconds)

  1. code_of_conduct.md

    licensing terms applying to the Project developments.
    
    Project maintainers have the right and responsibility to remove, edit, or
    reject comments, commits, code, wiki edits, issues, and other contributions
    that are not aligned to this Code of Conduct, or to ban temporarily or
    permanently any contributor for other behaviors that they deem inappropriate,
    threatening, offensive, or harmful. However, these actions shall respect the
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 18:38:58 GMT 2020
    - 3.5K bytes
    - Click Count (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            Duration difference = Duration.between(monotonic, system).abs();
            assertTrue(difference.getSeconds() <= 1, "Monotonic time should be reasonably aligned with system time");
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        @Test
        void testStringReadWriteUnicodeWithOddAlignment() throws UnsupportedEncodingException {
            smb.useUnicode = true;
            smb.headerStart = 1; // Make the start odd
            String testString = "Aligned Unicode";
            byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment
            int len = smb.writeString(testString, buffer, 1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

    import org.jetbrains.annotations.VisibleForTesting
    import org.jsoup.Jsoup
    
    /**
     * Fetch the latest AGP versions and write a properties file.
     * Never up-to-date, non-cacheable.
     *
     * AGP major versions are aligned with Gradle major versions.
     * IOW, AGP X.y officially only supports Gradle X.z.
     *
     * This task leverages that alignment to automatically select which
     * versions of AGP we should test.
     */
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. CODE_OF_CONDUCT.md

    Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
    
    
    ## Scope
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        void testSize() {
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  7. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 0); // altPathOffset
            bb.putShort((short) 0); // nodeOffset
    
            // Path string at offset 23 (which should be aligned to 24)
            bb.position(24); // Aligned position
            String path = "\\\\test";
            bb.put(path.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            // Decode from position 1
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(size1, size2);
            }
    
            @Test
            @DisplayName("Size should be 72 bytes (64 header + 4 body aligned to 8)")
            void testExactSize() {
                // SMB2_HEADER_LENGTH = 64, body = 4, total = 68
                // size8 aligns to 8-byte boundary: (68 + 7) & ~7 = 72
                assertEquals(72, echoRequest.size());
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top