Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 1,895 for run (0.01 seconds)

  1. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # 其他一些代码
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/stream-data.md

    The other two variables, `image_base64` and `binary_image`, are an image encoded in Base64, and then converted to bytes, to then pass it to `io.BytesIO`.
    
    Only so that it can live in the same file for this example and you can copy it and run it as is. 🥚
    
    ///
    
    By using a `with` block, we make sure that the file-like object is closed after the generator function (the function with `yield`) is done. So, after it finishes sending the response.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

        private static final String SHA_EXTENSION = ".sha1";
    
        // TODO: we should be able to default this to eg compile deps, but we need to move the licenses
        // check from distribution to core (ie this should only be run on java projects)
        /**
         * A collection of jar files that should be checked.
         */
        private FileCollection dependencies;
    
        /**
         * The directory to find the license and sha files in.
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
        executor.shutdown();
        assertThat(executor.awaitTermination(10, SECONDS)).isTrue();
        assertThat(getDone(future2)).isFalse();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. internal/disk/stat_bsd.go

    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandlerTest.java

            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/mail/TestmailPostcardTest.java

            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/DefaultSearcherTest.java

            assertEquals(1, 1);
        }
    
        // Test placeholder for future implementation
        @Test
        public void test_placeholder() {
            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt

                    Release notes:  $contributorsInReleaseNotes
                    Pull requests:  $contributorsFromPullRequests
                    Missed in notes:$contributorsInPullRequestsButNotInReleaseNotes
    
                    You can run `GITHUB_TOKEN=<YourGitHubToken> ./gradlew docs:updateContributorsInReleaseNotes --milestone <milestone>` to update the release notes with correct contributors automatically.
                    """.trimIndent()
                )
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:24 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

     * reserialized. (Sets and Lists, but not bare Collections.)
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top