Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 4,443 for Imports (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/server-startup-msg.go

    }
    
    // strip api endpoints list with standard ports such as
    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    func stripStandardPorts(apiEndpoints []string, host string) (newAPIEndpoints []string) {
    	if len(apiEndpoints) == 1 {
    		return apiEndpoints
    	}
    	newAPIEndpoints = make([]string, len(apiEndpoints))
    	// Check all API endpoints for standard ports and strip them.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. cmd/bitrot.go

    		return hh
    	default:
    		logger.CriticalIf(GlobalContext, errors.New("Unsupported bitrot algorithm"))
    		return nil
    	}
    }
    
    // Available reports whether the given algorithm is available.
    func (a BitrotAlgorithm) Available() bool {
    	_, ok := bitrotAlgorithms[a]
    	return ok
    }
    
    // String returns the string identifier for a given bitrot algorithm.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/cors.md

    ## Usar `CORSMiddleware` { #use-corsmiddleware }
    
    Você pode configurá-lo em sua aplicação **FastAPI** usando o `CORSMiddleware`.
    
    * Importe `CORSMiddleware`.
    * Crie uma lista de origens permitidas (como strings).
    * Adicione-a como um "middleware" à sua aplicação **FastAPI**.
    
    Você também pode especificar se o seu backend permite:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/testing.md

    Asegúrate de crear un [entorno virtual](../virtual-environments.md), activarlo y luego instalarlo, por ejemplo:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    Importa `TestClient`.
    
    Crea un `TestClient` pasándole tu aplicación de **FastAPI**.
    
    Crea funciones con un nombre que comience con `test_` (esta es la convención estándar de `pytest`).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. internal/etag/etag.go

    func (e ETag) String() string {
    	if e.IsMultipart() {
    		return hex.EncodeToString(e[:16]) + string(e[16:])
    	}
    	return hex.EncodeToString(e)
    }
    
    // IsEncrypted reports whether the ETag is encrypted.
    func (e ETag) IsEncrypted() bool {
    	// An encrypted ETag must be at least 32 bytes long.
    	// It contains the encrypted ETag value + an authentication
    	// code generated by the AEAD cipher.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. docs/pt/docs/features.md

    Você escreve Python padrão com tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare uma variável como str
    # e obtenha suporte do editor dentro da função
    def main(user_id: str):
        return user_id
    
    
    # Um modelo do Pydantic
    class User(BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/testing.md

    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Da sich diese Datei im selben Package befindet, können Sie relative Importe verwenden, um das Objekt `app` aus dem `main`-Modul (`main.py`) zu importieren:
    
    {* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *}
    
    
    ... und haben den Code für die Tests wie zuvor.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. CONTRIBUTING.md

    ### IntelliJ IDEA
    
    #### Import Gradle into IntelliJ
    
    To import Gradle into IntelliJ:
    - Open the `build.gradle.kts` file in root of the project with IntelliJ and choose "Open as Project"
    - Select a Adoptium Java 17 VM as "Gradle JVM"
    - Revert the Git changes to files in the `.idea` folder
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

     */
    package org.apache.maven.repository;
    
    import javax.inject.Inject;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.SimpleLookup;
    import org.apache.maven.api.ProducedArtifact;
    import org.apache.maven.api.services.ArtifactManager;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top