- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 488 for MODE (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/events/tutorial002_py39.py
from fastapi import FastAPI app = FastAPI() @app.on_event("shutdown") def shutdown_event(): with open("log.txt", mode="a") as log: log.write("Application shutdown") @app.get("/items/") async def read_items():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 255 bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
* unique within a single POM. Upon multiple declarations, 2.x just kept the last one but retained the order of * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from * aftereffects and bogus error messages. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.5K bytes - Click Count (0) -
cmd/xl-storage_unix_test.go
package cmd import ( "os" "path" "syscall" "testing" ) // Based on `man getumask` a vaporware GNU extension to glibc. // returns file mode creation mask. func getUmask() int { mask := syscall.Umask(0) syscall.Umask(mask) return mask } // Tests if the directory and file creations happen with proper umask. func TestIsValidUmaskVol(t *testing.T) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
internal/dsync/dsync_test.go
dm2.Unlock(t.Context()) } // Test refreshing lock - refresh should always return true func TestSuccessfulLockRefresh(t *testing.T) { if testing.Short() { t.Skip("skipping test in short mode.") } dm := NewDRWMutex(ds, "aap") dm.refreshInterval = testDrwMutexRefreshInterval ctx, cancel := context.WithCancel(t.Context())
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
/** * Returns a detailed string representation of this dependency node. * <p> * When verbose mode is disabled, returns the basic string representation in the format: * {@code groupId:artifactId:version[:scope]} * <p> * When verbose mode is enabled, additional details are included with the following format: * <ul>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:10:11 GMT 2025 - 4.2K bytes - Click Count (0) -
callbacks/create.go
if !isDryRun { return } ok, mode := hasReturning(db, supportReturning) if ok { if c, ok := db.Statement.Clauses["ON CONFLICT"]; ok { onConflict, _ := c.Expression.(clause.OnConflict) if onConflict.DoNothing { mode |= gorm.ScanOnConflictDoNothing } else if len(onConflict.DoUpdates) > 0 || onConflict.UpdateAll { mode |= gorm.ScanUpdate } }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
@DisplayName("Test encode with maximum security mode") void testEncodeWithMaxSecurityMode() { ValidateNegotiateInfoRequest request = new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, 0xFFFF, defaultDialects); byte[] buffer = new byte[request.size()]; request.encode(buffer, 0); // Verify max security mode value (2 bytes)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/distributed/README.md
MinIO in distributed mode lets you pool multiple drives (even on different machines) into a single object storage server. As drives are distributed across several nodes, distributed MinIO can withstand multiple node failures and yet ensure full data protection. ## Why distributed MinIO?
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.9K bytes - Click Count (0) -
docs_src/background_tasks/tutorial002_an_py310.py
from typing import Annotated from fastapi import BackgroundTasks, Depends, FastAPI app = FastAPI() def write_log(message: str): with open("log.txt", mode="a") as log: log.write(message) def get_query(background_tasks: BackgroundTasks, q: str | None = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 683 bytes - Click Count (0) -
docs_src/background_tasks/tutorial002_py39.py
from typing import Union from fastapi import BackgroundTasks, Depends, FastAPI app = FastAPI() def write_log(message: str): with open("log.txt", mode="a") as log: log.write(message) def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 675 bytes - Click Count (0)