- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 186 for semakin (0.5 sec)
-
internal/ioutil/ioutil.go
} buf = buf[:nr] var ( n int un int nw int64 ) remain := len(buf) % DirectioAlignSize if remain == 0 { // buf is aligned for directio write() n, err = w.Write(buf) nw = int64(n) } else { if remain < len(buf) { n, err = w.Write(buf[:len(buf)-remain]) if err != nil { return written, err } nw = int64(n) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
for (int i = 0; i < len; i++) { assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i); } // Assert: bytes before and after region remain unchanged. for (int i = 0; i < dstIndex; i++) { assertEquals((byte) 0x55, dst[i], "Unexpected change before copy region at " + i); } for (int i = dstIndex + len; i < dst.length; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/service.go
// For each call, unfreezeServices must be called once. func freezeServices() { // Use atomics for globalServiceFreeze, so we can read without locking. // We need a lock since we are need the 2 atomic values to remain in sync. globalServiceFreezeMu.Lock() // If multiple calls, first one creates channel. globalServiceFreezeCnt++ if globalServiceFreezeCnt == 1 { globalServiceFreeze.Store(make(chan struct{})) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
// Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(msg); // Assert if (msg == null) { assertNull(ex.getMessage(), "Null message should remain null"); } else { assertEquals(msg, ex.getMessage(), "Message should be stored as provided"); } assertNull(ex.getCause(), "Cause should be null for message-only ctor");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify encoded length assertEquals(0, encodedLen, "Encoded length should be zero for zero length encodable"); assertArrayEquals(new byte[] { 0x00, 0x00, 0x00 }, dest, "Destination array should remain unchanged for zero length encoding"); } @Test void testEncodeEmptySourceArray() { // Test with an empty source array byte[] data = {};Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
import org.jspecify.annotations.Nullable; /** * A {@code UnicodeEscaper} that escapes some set of Java characters using a UTF-8 based percent * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on * construction. * * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be usedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
} @Test @DisplayName("MonotonicClock start time should remain constant") void testStartTime() throws InterruptedException { Instant start1 = MonotonicClock.start(); Thread.sleep(10); Instant start2 = MonotonicClock.start(); assertEquals(start1, start2, "Start time should remain constant"); assertNotNull(start1, "Start time should not be null"); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
assertNotNull(deleteResponse); assertFalse(deleteResponse.hasError()); suggester.refresh(); // Document-only should be deleted, Query-only should remain, Both should remain but as Query only assertEquals(2, suggester.getAllWordsNum()); assertEquals(0, suggester.getDocumentWordsNum()); assertEquals(2, suggester.getQueryWordsNum()); } @TestRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 28.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
log.debug("Server " + dr.server + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed " + consumed); } dr.pathConsumed = consumed; } else { if (log.isDebugEnabled()) { log.debug("Node " + ref.getNode() + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed "
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/archive/zip/zip_test.go
} uint16string := strings.Repeat(".", uint16max) remain := wantLen for remain > 0 { commentLen := int(uint16max) - directoryHeaderLen - 1 thisRecLen := directoryHeaderLen + int(uint16max) + commentLen if int64(thisRecLen) > remain { remove := thisRecLen - int(remain) commentLen -= remove thisRecLen -= remove } remain -= int64(thisRecLen) f, err := w.CreateHeader(&FileHeader{
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0)