- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 950 for cast (0.1 seconds)
-
cmd/server-main.go
// Check and load Root CAs. globalRootCAs, err = certs.GetRootCAs(globalCertsCADir.Get()) logger.FatalIf(err, "Failed to read root CAs (%v)", err) // Add the global public crts as part of global root CAs for _, publicCrt := range globalPublicCerts { globalRootCAs.AddCert(publicCrt) } // Register root CAs for remote ENVs env.RegisterGlobalCAs(globalRootCAs)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:18:36 GMT 2025 - 35.9K bytes - Click Count (4) -
internal/once/singleton.go
// GetNonBlocking will return the singleton value or nil if not set yet. func (s *Singleton[T]) GetNonBlocking() *T { select { case <-s.set: return s.v default: return nil } } // IsSet will return whether the singleton has been set. func (s *Singleton[T]) IsSet() bool { select { case <-s.set: return true default: return false } } // Set the value and unblock all Get requests.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 952 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
retValue = decode(retValue); // special case: if omitted // on protocol, keep path as is if (retValue.startsWith("//")) { retValue = retValue.substring(2); if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) { // special case: if there is a windows drive letter, then keep the original return value
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/os_unix.go
} consumed = int(dirent.Reclen) if direntInode(dirent) == 0 { // File absent in directory. return consumed, name, typ, err } switch dirent.Type { case syscall.DT_REG: typ = 0 case syscall.DT_DIR: typ = os.ModeDir case syscall.DT_LNK: typ = os.ModeSymlink default: // Skip all other file types. Revisit if/when this code needs // to handle such files, MinIO is only interested in
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/hash/crc.go
} switch c.Type.Base() { case ChecksumCRC32: v := crc32Combine(crc32.IEEE, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size) binary.BigEndian.PutUint32(c.Raw, v) case ChecksumCRC32C: v := crc32Combine(crc32.Castagnoli, binary.BigEndian.Uint32(c.Raw), binary.BigEndian.Uint32(other.Raw), size) binary.BigEndian.PutUint32(c.Raw, v) case ChecksumCRC64NVME:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params.md
``` /files/{file_path:path} ``` In this case, the name of the parameter is `file_path`, and the last part, `:path`, tells it that the parameter should match any *path*. So, you can use it with: {* ../../docs_src/path_params/tutorial004_py39.py hl[6] *} /// tip You might need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/es/docs/tutorial/path-params.md
Puedes declarar el tipo de un parámetro de path en la función, usando anotaciones de tipos estándar de Python: {* ../../docs_src/path_params/tutorial002_py39.py hl[7] *} En este caso, `item_id` se declara como un `int`. /// check | Revisa Esto te dará soporte del editor dentro de tu función, con chequeo de errores, autocompletado, etc. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/es/docs/advanced/advanced-dependencies.md
Si tienes este caso de uso específico usando SQLModel (o SQLAlchemy), podrías cerrar explícitamente la sesión después de que ya no la necesites: {* ../../docs_src/dependencies/tutorial014_an_py310.py ln[24:28] hl[28] *} De esa manera la sesión liberaría la conexión a la base de datos, para que otras requests puedan usarla.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 9.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
**"Injeção de Dependência"** no mundo da programação significa, que existe uma maneira de declarar no seu código (nesse caso, suas *funções de operação de rota*) para declarar as coisas que ele precisa para funcionar e que serão utilizadas: "dependências". Então, esse sistema (nesse caso o **FastAPI**) se encarrega de fazer o que for preciso para fornecer essas dependências para o código ("injetando" as dependências).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 10.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
Artifact s; String[] parts = coords.split(":"); s = switch (parts.length) { case 3 -> new DefaultArtifact(parts[0], parts[1], "*", "*", parts[2]); case 4 -> new DefaultArtifact(parts[0], parts[1], "*", parts[2], parts[3]); case 5 -> new DefaultArtifact(parts[0], parts[1], parts[2], parts[3], parts[4]); default ->Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0)