Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 159 for getenv (0.2 sec)

  1. src/archive/zip/zip_test.go

    		_, err := io.ReadFull(rc, chunk[:frag])
    		if err != nil {
    			t.Fatal("read:", err)
    		}
    	}
    	gotEnd, err := io.ReadAll(rc)
    	if err != nil {
    		t.Fatal("read end:", err)
    	}
    	if !bytes.Equal(gotEnd, end) {
    		t.Errorf("End of zip64 archive %q, want %q", gotEnd, end)
    	}
    	err = rc.Close()
    	if err != nil {
    		t.Fatal("closing:", err)
    	}
    	if size+int64(len("END\n")) >= 1<<32-1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/first-steps.md

        * `--reload`: lässt den Server nach Codeänderungen neu starten. Verwenden Sie das nur während der Entwicklung.
    
    In der Konsolenausgabe sollte es eine Zeile geben, die ungefähr so aussieht:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Diese Zeile zeigt die URL, unter der Ihre Anwendung auf Ihrem lokalen Computer bereitgestellt wird.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. cmd/update_test.go

    				t.Errorf("Expected %s, got %s", MinioReleaseURL+"minio", durl)
    			}
    		}
    	}
    
    	t.Setenv("KUBERNETES_SERVICE_HOST", "10.11.148.5")
    	durl = getDownloadURL(minioVersion1)
    	if durl != kubernetesDeploymentDoc {
    		t.Errorf("Expected %s, got %s", kubernetesDeploymentDoc, durl)
    	}
    
    	t.Setenv("MESOS_CONTAINER_NAME", "mesos-1111")
    	durl = getDownloadURL(minioVersion1)
    	if durl != mesosDeploymentDoc {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

            this.flags2 = Config.getInt(p, "jcifs.smb.client.flags2", 0);
    
            this.capabilities = Config.getInt(p, "jcifs.smb.client.capabilities", 0);
    
            this.sessionLimit = Config.getInt(p, "jcifs.smb.client.ssnLimit", SmbConstants.DEFAULT_SSN_LIMIT);
    
            this.maxRequestRetries = Config.getInt(p, "jcifs.smb.client.maxRequestRetries", 2);
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. src/packaging/common/scripts/preinst

        . "$FESS_ENV_FILE"
    fi
    
    case "$1" in
    
        # Debian ####################################################
        install|upgrade)
    
            # Create fess group if not existing
            if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then
                echo -n "Creating $FESS_GROUP group..."
                addgroup --quiet --system "$FESS_GROUP"
                echo " OK"
            fi
    
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 01 09:48:15 GMT 2016
    - 2.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_settings/test_tutorial001_pv1.py

    from fastapi.testclient import TestClient
    from pytest import MonkeyPatch
    
    from ...utils import needs_pydanticv1
    
    
    @needs_pydanticv1
    def test_settings(monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        from docs_src.settings.tutorial001_pv1 import app
    
        client = TestClient(app)
        response = client.get("/info")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 556 bytes
    - Viewed (0)
  7. internal/init/init.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package init
    
    import "os"
    
    func init() {
    	// All MinIO operations must be under UTC.
    	os.Setenv("TZ", "UTC")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 04 23:44:38 GMT 2022
    - 874 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_settings/test_app02.py

    from pytest import MonkeyPatch
    
    from ...utils import needs_pydanticv2
    
    
    @needs_pydanticv2
    def test_settings(monkeypatch: MonkeyPatch):
        from docs_src.settings.app02 import main
    
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        settings = main.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.items_per_user == 50
    
    
    @needs_pydanticv2
    def test_override_settings():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 488 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_settings/test_tutorial001.py

    from fastapi.testclient import TestClient
    from pytest import MonkeyPatch
    
    from ...utils import needs_pydanticv2
    
    
    @needs_pydanticv2
    def test_settings(monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        from docs_src.settings.tutorial001 import app
    
        client = TestClient(app)
        response = client.get("/info")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 552 bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    +# define __attribute_copy__(arg) __attribute__ ((__copy__ (arg)))
    +#else
    +# define __attribute_copy__(arg)
    +#endif
    +
     #endif	 /* sys/cdefs.h */
    diff --git a/stdlib/setenv.c b/stdlib/setenv.c
    index 45efe2e..06bfab0 100644
    --- a/stdlib/setenv.c
    +++ b/stdlib/setenv.c
    @@ -319,6 +319,7 @@ unsetenv (const char *name)
     
       ep = __environ;
       if (ep != NULL)
    +  {
         while (*ep != NULL)
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top