- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 940 for Revert (0.06 seconds)
-
docs/en/docs/advanced/async-tests.md
different loop` when integrating asynchronous function calls in your tests (e.g. when using [MongoDB's MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)), remember to instantiate objects that need an event loop only within async functions, e.g. an `@app.on_event("startup")` callback. ///...
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
src/README.vendor
In addition to individual updates that happen on demand, all dependencies in the std and cmd modules are updated to their latest available versions at least twice during every major release cycle. This is done to avoid the possibility of some dependencies being left on very old versions and in turn make their eventual update more disruptive. This recurring process is tracked in go.dev/issue/36905.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Jan 26 20:37:19 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/pt/docs/advanced/async-tests.md
integrar funções assíncronas em seus testes (e.g. ao utilizar o [MotorClient do MongoDB](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)) Lembre-se de instanciar objetos que precisam de um loop de eventos (*event loop*) apenas em funções assíncronas, e.g. um callback `@app.on_event("startup")`. ///...
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
cmd/callhome.go
}, } go fetchHealthInfo(healthCtx, objectAPI, &query, healthInfoCh, healthInfo) for { select { case hi, hasMore := <-healthInfoCh: if !hasMore { auditOptions := AuditLogOptions{Event: "callhome:diagnostics"} // Received all data. Send to SUBNET and return err := sendHealthInfo(ctx, healthInfo) if err != nil { internalLogIf(ctx, fmt.Errorf("Unable to perform callhome: %w", err))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
return Collections2.safeContains(collection, element); } return Iterators.contains(iterable.iterator(), element); } /** * Removes, from an iterable, every element that belongs to the provided collection. * * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a collection, and * {@link Iterators#removeAll} otherwise. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
* Gets the notification type. * * @return the witness event type for this notification */ public WitnessEventType getNotificationType() { return notificationType; } /** * Sets the notification type. * * @param notificationType the witness event type for this notification */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
compat/maven-model-builder/src/site/apt/index.apt
with its <<<DefaultInheritanceAssembler>>> implementation ({{{./xref/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.html}source}}). By default, every model field is inherited as-is from parent, with a few exceptions that are intentionally not inherited: <<<modelVersion>>>, <<<artifactId>>>, <<<packaging>>>, <<<profiles>>> (injected in phase 1) and <<<prerequisites>>>.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 03 08:42:52 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/zh/docs/advanced/events.md
事件函数既可以声明为异步函数(`async def`),也可以声明为普通函数(`def`)。 ### `startup` 事件 { #startup-event } 使用事件 `"startup"` 声明一个在应用启动前运行的函数: {* ../../docs_src/events/tutorial001_py310.py hl[8] *} 本例中,`startup` 事件处理器函数为项目“数据库”(只是一个 `dict`)提供了一些初始值。 **FastAPI** 支持多个事件处理器函数。 只有所有 `startup` 事件处理器运行完毕,**FastAPI** 应用才开始接收请求。 ### `shutdown` 事件 { #shutdown-event } 使用事件 `"shutdown"` 声明一个在应用关闭时运行的函数:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.2K bytes - Click Count (0) -
internal/logger/logonce.go
prev.Count++ l.IDMap[id] = prev shouldLog = false } l.Unlock() if shouldLog { logIf(ctx, subsystem, err, errKind...) } } // Cleanup the map every one hour so that the log message is printed again for the user to notice. func (l *logOnceType) cleanupRoutine() { for { time.Sleep(time.Hour) l.Lock() l.IDMap = make(map[string]onceErr) l.Unlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
} List<LogNotificationEvent> events = helper.drainAll(); // The newest events should be retained; oldest dropped // Last event should be msg1099 LogNotificationEvent last = events.get(events.size() - 1); assertEquals("msg1099", last.getMessage()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0)