- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 291 for 0500 (0.02 sec)
-
docs/es/docs/tutorial/debugging.md
``` </div> entonces la variable interna `__name__` en tu archivo, creada automáticamente por Python, tendrá como valor el string `"__main__"`. Así que, la sección: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` se ejecutará. --- Esto no ocurrirá si importas ese módulo (archivo). Entonces, si tienes otro archivo `importer.py` con: ```Python from myapp import app
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/debugging.md
то встроенная переменная `__name__`, автоматически создаваемая Python в вашем файле, будет иметь значение строкового типа `"__main__"`. Тогда выполнится условие и эта часть кода: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` будет запущена. --- Но этого не произойдет, если вы импортируете этот модуль (файл). Таким образом, если у вас есть файл `importer.py` с таким импортом: ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(2, trans.maxParameterCount, "The maxParameterCount should be 2."); assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40."); assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/en/docs/tutorial/debugging.md
``` </div> then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`. So, the section: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` will run. --- This won't happen if you import that module (file). So, if you have another file `importer.py` with: ```Python from myapp import app # Some more code
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// Each byte produces 2 hex characters // Test basic conversion (srcIndex is ignored in the implementation) byte[] data1 = { 0x00, 0x01, 0x02, 0x03 }; assertEquals("00", Hexdump.toHexString(data1, 0, 2)); // 2 chars = 1 byte assertEquals("000", Hexdump.toHexString(data1, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2) assertEquals("0001", Hexdump.toHexString(data1, 0, 4)); // 4 chars = 2 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
return Stream.of(Arguments.of("SERVER", 0x20, "CLIENT", 0x00), Arguments.of("WORKSTATION", 0x00, "USER", 0x03), Arguments.of("DOMAIN", 0x1B, "BROWSER", 0x1D), Arguments.of("A", 0x20, "B", 0x00), Arguments.of("VERYLONGNAMETEST", 0x20, "ANOTHERLONGNAME", 0x00)); } @Test @DisplayName("writeTrailerWireFormat should handle different buffer offsets")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB" Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros Arguments.of(new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff }, "////")) // all 0xFF bytes ; } @ParameterizedTest(name = "encode({1}) -> {2}")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1"); private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0"); private InetAddresses() {} /** * Returns an {@link Inet4Address}, given a byte array representation of the IPv4 address. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
assertTrue(output.contains("test line")); } public void test_run_largeInput() throws InterruptedException { StringBuilder largeInput = new StringBuilder(); for (int i = 0; i < 5000; i++) { largeInput.append("Line number ").append(i).append("\n"); } InputStream is = new ByteArrayInputStream(largeInput.toString().getBytes(StandardCharsets.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/debugging.md
따라서 섹션 ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 이 실행됩니다. --- 해당 모듈(파일)을 가져오면 이런 일이 발생하지 않습니다 그래서 다음과 같은 다른 파일 `importer.py`가 있는 경우: ```Python from myapp import app # Some more code ``` 이 경우 `myapp.py` 내부의 자동 변수에는 값이 `"__main__"`인 변수 `__name__`이 없습니다. 따라서 다음 행 ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 은 실행되지 않습니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.7K bytes - Viewed (0)