Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 184 for getenv (0.17 sec)

  1. src/test/java/jcifs/ConfigTest.java

            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
            assertEquals(123, Config.getInt(testProperties, "test.int"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. 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")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Nov 04 23:44:38 UTC 2022
    - 874 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_conditional_openapi/test_tutorial001.py

        importlib.reload(tutorial001_py39)
    
        client = TestClient(tutorial001_py39.app)
        return client
    
    
    def test_disable_openapi(monkeypatch):
        monkeypatch.setenv("OPENAPI_URL", "")
        # Load the client after setting the env var
        client = get_client()
        response = client.get("/openapi.json")
        assert response.status_code == 404, response.text
        response = client.get("/docs")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. docs/tr/docs/async.md

    Ancak bundan önce, asenkron kodu işlemek oldukça karmaşık ve zordu.
    
    Python'un önceki sürümlerinde, threadlerı veya <a href="https://www.gevent.org/" class="external-link" target="_blank">Gevent</a> kullanıyor olabilirdin. Ancak kodu anlamak, hata ayıklamak ve düşünmek çok daha karmaşık olurdu.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/settings.md

    /// tip | Совет
    
    Чтобы это работало, вам нужно `pip install python-dotenv`.
    
    ///
    
    ### Файл `.env` { #the-env-file }
    
    У вас может быть файл `.env` со следующим содержимым:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_settings/test_app02.py

        test_main_mod = importlib.import_module(f"{mod_path}.test_main")
        return test_main_mod
    
    
    def test_settings(main_mod: ModuleType, monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        settings = main_mod.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.items_per_user == 50
    
    
    def test_override_settings(test_main_mod: ModuleType):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        InetAddress LADDR = Config.getLocalHost();
        /** Local port to bind to */
        int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0);
        /** Maximum multiplex count */
        int MAX_MPX_COUNT = Config.getInt("jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT);
        /** Send buffer size in bytes */
        int SND_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE);
        /** Receive buffer size in bytes */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp));
    
                // Verify subCommand is set correctly
                Field subCmd = SmbComTransactionResponse.class.getDeclaredField("subCommand");
                subCmd.setAccessible(true);
                assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, subCmd.getInt(resp));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. docs/de/docs/deployment/concepts.md

    In den nächsten Kapiteln werde ich Ihnen mehr **konkrete Rezepte** für das Deployment von FastAPI-Anwendungen geben.
    
    Aber schauen wir uns zunächst einmal diese grundlegenden **konzeptionellen Ideen** an. Diese Konzepte gelten auch für jede andere Art von Web-API. 💡
    
    ## Sicherheit – HTTPS { #security-https }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. internal/kms/config_test.go

    package kms
    
    import (
    	"os"
    	"testing"
    )
    
    func TestIsPresent(t *testing.T) {
    	for i, test := range isPresentTests {
    		os.Clearenv()
    		for k, v := range test.Env {
    			t.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top