- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,181 for first (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
@Nonnull @Override MessageBuilder append(char c); /** * Append content to the message buffer. * * @param value the content to append * @param offset the index of the first {@code char} to append * @param len the number of {@code char}s to append * @return the current builder */ @Nonnull default MessageBuilder a(char[] value, int offset, int len) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Nov 02 09:29:52 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
public static RuntimeException propagate(Throwable throwable) { throwIfUnchecked(throwable); throw new RuntimeException(throwable); } /** * Returns the innermost cause of {@code throwable}. The first throwable in a chain provides * context from when the error or exception was initially detected. Example usage: * * <pre> * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
/** * The elements to be returned by future calls to {@code next()}, with the first at the top of * the stack. */ final Stack<E> nextElements = new Stack<>(); /** * The elements to be returned by future calls to {@code previous()}, with the first at the top * of the stack. */ final Stack<E> previousElements = new Stack<>(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
* guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2. * This iteration has the following two properties: * * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean, * and the arithmetic mean is always higher than the geometric mean. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
internal/lru/lru.go
c.removeFromBucket(e) if c.onEvict != nil { c.onEvict(e.Key, e.Value) } } // deleteExpired deletes expired records from the oldest bucket, waiting for the newest entry // in it to expire first. func (c *LRU[K, V]) deleteExpired() { c.mu.Lock() bucketIdx := c.nextCleanupBucket timeToExpire := time.Until(c.buckets[bucketIdx].newestEntry) // wait for newest entry to expire before cleanup without holding lock
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
assertEquals(16, result.length); } @Test void testResetAndReuse() { // Test that HMACT64 can be reset and reused HMACT64 hmac = new HMACT64(TEST_KEY); // First use hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] result1 = hmac.engineDigest(); // Reset and reuse with same data hmac.engineReset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
void mock_nameEdgeValues() { // Arrange when(mockEntry.getName()).thenReturn(null, "", " "); // Act & Assert assertNull(mockEntry.getName(), "first call returns null"); assertEquals("", mockEntry.getName(), "second call returns empty"); assertEquals(" ", mockEntry.getName(), "third call returns space");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
offset += lock2.encode(buffer, offset); offset += lock3.encode(buffer, offset); assertEquals(72, offset); // 3 * 24 // Verify first lock assertEquals(100L, SMBUtil.readInt8(buffer, 0)); assertEquals(200L, SMBUtil.readInt8(buffer, 8)); assertEquals(1, SMBUtil.readInt4(buffer, 16)); // Verify second lock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
throw new IOException("corrupted stream - high tag number < 31 found"); } tagNo = b & 0x7f; // X.690-0207 8.1.2.4.2 // "c) bits 7 to 1 of the first subsequent octet shall not all be zero." if (0 == tagNo) { throw new IOException("corrupted stream - invalid high tag number found"); } while ((b & 0x80) != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"a\xe0\x80cd", not(isValidRune), 1, 2}, } func TestIndexFunc(t *testing.T) { for _, tc := range indexFuncTests { first := IndexFunc([]byte(tc.in), tc.f.f) if first != tc.first { t.Errorf("IndexFunc(%q, %s) = %d; want %d", tc.in, tc.f.name, first, tc.first) } last := LastIndexFunc([]byte(tc.in), tc.f.f) if last != tc.last {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0)