- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 515 for ceiling (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/chainable_api_test.go
args, ok := tx.Statement.Preloads["Orders"] if !ok || len(args) != 2 { t.Fatalf("Preload expected with args, got %v", tx.Statement.Preloads) } // Scopes: just ensure calling Scopes doesn't panic and returns a DB tx = tx.Scopes(func(d *gorm.DB) *gorm.DB { return d.Where("status = ?", "ok") }) if tx == nil { t.Fatalf("Scopes returned nil") } // Unscoped tx = tx.Unscoped()
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jan 31 08:39:40 GMT 2026 - 3.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
public CrawlerClientFactory getParent() { return factory; } /** * Sets the initialization parameter map for this wrapper. * These parameters will be applied to the wrapped factory upon calling initParameterMap(). * @param params The map of parameters. */ @Override public void setInitParameterMap(final Map<String, Object> params) { this.params.putAll(params); } /**
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 5.2K bytes - Click Count (10) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertWrapsInterruptedException(expected); } finally { interruptenator.shutdown(); Thread.interrupted(); } } /** * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of * this test. (And if it isn't, we'd like to know about it first!) */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
cmd/healthcheck-handler.go
} return } } writeResponse(w, http.StatusOK, nil, mimeNone) } // LivenessCheckHandler checks whether MinIO is up. It differs from the // readiness handler since a failing liveness check causes pod restarts // in K8S environments. Therefore, it does not contact external systems. func LivenessCheckHandler(w http.ResponseWriter, r *http.Request) { if objLayer := newObjectLayerFn(); objLayer == nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 26 07:44:34 GMT 2024 - 6.9K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/SKILL.md
```python from fastapi import FastAPI app = FastAPI() # Use async def when calling async code @app.get("/async-items/") async def read_async_items(): data = await some_async_library.fetch_items() return data # Use plain def when calling blocking/sync code or when in doubt @app.get("/items/") def read_items(): data = some_blocking_library.fetch_items()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 10.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
final ImmutableList<Timeout> timeouts; TimeoutsToUse(Timeout... timeouts) { this.timeouts = ImmutableList.copyOf(timeouts); } } /** Possible outcomes of calling any of the methods under test. */ private enum Outcome { /** The method returned normally and is either void or returned true. */ SUCCESS, /** The method returned false. */ FAILURE,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertNull(context.getSigningKey()); // Signing key should not be generated } @Test void testInitSecContext_invalidState() throws SmbException { // Test that calling initSecContext in an invalid state throws an exception when(mockAuth.getDomain()).thenReturn(domain); when(mockAuth.getUsername()).thenReturn(username); when(mockAuth.getPassword()).thenReturn(password);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/cmd/cgo/doc.go
In C, a function argument written as a fixed size array actually requires a pointer to the first element of the array. C compilers are aware of this calling convention and adjust the call accordingly, but Go cannot. In Go, you must pass the pointer to the first element explicitly: C.f(&C.x[0]). Calling variadic C functions is not supported. It is possible to circumvent this by using a C function wrapper. For example: package main
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0) -
src/main/assemblies/files/fess
echo " --prop=val" echo " --prop val set fess property (i.e. -Des.<prop>=<val>)" } # Parse any long getopt options and put them into properties before calling getopt below # Be dash compatible to make sure running under ubuntu works ARGV="" while [ $# -gt 0 ] do case $1 in --help) ARGV="$ARGV -h"; shift;; --*=*) properties="$properties -Dfess.${1#--}"
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
try { Path existingPath = tempDir.resolve("existing"); Files.createDirectories(existingPath); assertTrue(Files.exists(existingPath)); // Calling again should not throw exception Files.createDirectories(existingPath); assertTrue(Files.exists(existingPath)); } finally { deleteDirectory(tempDir.toFile()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0)