- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,544 for needle (0.04 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java
private final List<EventSpy> eventSpies; @Inject public EventSpyDispatcher(List<EventSpy> eventSpies) { // make copy to get rid of needless overhead for dynamic lookups this.eventSpies = new ArrayList<>(eventSpies); } public ExecutionListener chainListener(ExecutionListener listener) { if (eventSpies.isEmpty()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0) -
cmd/site-replication.go
} return nil } // BucketMetaHook - called when bucket meta changes happen and need to be // replicated to peer clusters. func (c *SiteReplicationSys) BucketMetaHook(ctx context.Context, item madmin.SRBucketMeta) error { // The change has already been applied to the local cluster at this // point, and only needs to be updated on all remote peer clusters. c.RLock() defer c.RUnlock() if !c.enabled {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java
if (extraProperties.has("isEclipse") && Boolean.valueOf(extraProperties.get("isEclipse").toString())) { /* The changes this plugin makes both break and aren't needed by * Eclipse. This is because Eclipse flattens main and test * dependencies into a single dependency. Because Eclipse is * "special".... */ return; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java
testTask.getClusters().forEach(c -> c.plugin(bundle.flatMap(AbstractArchiveTask::getArchiveFile))); } }); }); } /** * Setup the dependencies needed for the REST tests. */ public static void setupTestDependenciesDefaults(Project project, SourceSet sourceSet) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 16:26:11 GMT 2021 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
session.addAssistantMessage("Assistant 2"); session.addUserMessage("User 3"); session.addAssistantMessage("Assistant 3"); // Trimming to 4 starts at index 2 which is user - no skip needed session.trimHistory(4); final List<ChatMessage> messages = session.getMessages(); assertEquals(4, messages.size()); assertEquals(ChatMessage.ROLE_USER, messages.get(0).getRole());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
CHANGELOG.md
all of them. * Fix: Address a performance bug in `MultipartReader`. We were scanning the entire input stream for a delimiter when we only needed to scan enough to return a result. * Fix: Don't double-compress the public suffix database. OkHttp is usually distributed in a compressed file (like a JAR or APK), so compressing its internal data was redundant.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
src/test/java/jcifs/smb/SSPContextTest.java
when(mockCtx.supportsIntegrity()).thenReturn(true); when(mockCtx.calculateMIC(any(byte[].class))).thenReturn(new byte[] { 42 }); // verifyMIC returns void; no stubbing needed when(mockCtx.isMICAvailable()).thenReturn(true); // Act useContext(mockCtx); // Assert: verify key interactions and ordering where meaningful
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@Test @DisplayName("Should handle response at end of buffer") void testResponseAtEndOfBuffer() throws SMBProtocolDecodingException { byte[] buffer = new byte[20]; // Exact size needed SMBUtil.writeInt2(17, buffer, 0); SMBUtil.writeInt2(0, buffer, 2); SMBUtil.writeInt4(999, buffer, 4); SMBUtil.writeInt4(111, buffer, 8);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
tests/scanner_valuer_test.go
*data = []byte(s[3:]) return nil } return errors.New("Bytes expected") } func (data EncryptedData) Value() (driver.Value, error) { if len(data) > 0 && data[0] == 'x' { // needed to test failures return nil, errors.New("Should not start with 'x'") } // prepend asterisks return append([]byte("***"), data...), nil } type Num int64
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
internal/grid/muxserver.go
go func(outBlock <-chan struct{}) { wg.Wait() defer m.parent.deleteMux(true, m.ID) m.sendResponses(ctx, send, c, &handlerErr, outBlock) }(m.outBlock) // Remote aliveness check if needed. if msg.DeadlineMS == 0 || msg.DeadlineMS > uint32(4*c.clientPingInterval/time.Millisecond) { go func() { wg.Wait() m.checkRemoteAlive() }() } return &m }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0)