- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 60 for Remaining (0.06 seconds)
-
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
// Buffer should still contain the event since disabled check should return early List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(1, remaining.size()); assertEquals("should remain", remaining.get(0).getMessage()); } @Test public void test_expired_enabled_drainsBuffer() { // Enable log notificationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
return result; } int remaining = totalLen - result.length; result = Arrays.copyOf(result, totalLen); while (remaining > 0) { byte[] buf = bufs.remove(); int bytesToCopy = min(remaining, buf.length); int resultOffset = totalLen - remaining; System.arraycopy(buf, 0, result, resultOffset, bytesToCopy); remaining -= bytesToCopy; } return result; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
scripts/people.py
return self def __exit__(self, exc_type, exc_val, exc_tb) -> None: pass def update_request_info(self, cost: int, remaining: int, reset_at: str) -> None: self.last_query_cost = cost self.remaining_points = remaining self.reset_at = datetime.fromisoformat(reset_at.replace("Z", "+00:00")) rate_limiter = RateLimiter() discussions_query = """Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 13:51:24 GMT 2026 - 15K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8")); // Read remaining bytes byte[] remaining = new byte[20]; int remainingBytes = stream.read(remaining); assertEquals(8, remainingBytes); // ", World!" assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8")); } } // --- isInMemory() tests ---
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/LogNotificationJob.java
bulkDelete.execute().actionGet(fessConfig.getIndexSearchTimeout()); // Delete any remaining events beyond the search size limit (discard overflow) try { client.deleteByQuery(indexName, QueryBuilders.termQuery("hostname", hostname)); } catch (final Exception e) { logger.debug("Failed to delete remaining log notifications.", e); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
int remaining = queue.size(); while (queueIterator.hasNext()) { Integer element = queueIterator.next(); remaining--; assertThat(elements).contains(element); if (random.nextBoolean()) { elements.remove(element); queueIterator.remove(); } } assertThat(remaining).isEqualTo(0); assertIntact(queue);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
int remaining = queue.size(); while (queueIterator.hasNext()) { Integer element = queueIterator.next(); remaining--; assertThat(elements).contains(element); if (random.nextBoolean()) { elements.remove(element); queueIterator.remove(); } } assertThat(remaining).isEqualTo(0); assertIntact(queue);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
} @Test public void test_addHistoryWithBudget_multipleTurns_budgetTight() { // 3 turns: turn0(Q1+A1=10), turn1(Q2+A2=10), turn2(Q3+A3=10) // Budget=25: turn2(10) fits (remaining=15), turn1(10) fits (remaining=5), turn0(10) doesn't final List<LlmMessage> history = new ArrayList<>(); history.add(LlmMessage.user("QQQQQ")); // 5 history.add(LlmMessage.assistant("AAAAA")); // 5Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
// Test for common pitfall regarding sign extension. // For example: (long) data[i++] | (long) data[i++] << 8 | ... // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80, // masking the remaining seven bytes. // To test this, we give an input where bit 7 is not cleared. For example: // (1) 00 01 02 03 04 05 06 07 80 // (2) 00 01 02 03 04 05 06 07 81 // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.8K bytes - Click Count (0)