Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 3,105 for rint (0.02 seconds)

  1. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream.setInstance(testStream);
            LogStream logStream = LogStream.getInstance();
    
            // Test various PrintStream methods
            logStream.print("test");
            logStream.print(123);
            logStream.print(true);
            logStream.println();
            logStream.println("line");
            logStream.printf("formatted %d%n", 42);
            logStream.flush();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. utils/utils_test.go

    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsProblem implements SettingsProblem {
    
        private final String source;
    
        private final int lineNumber;
    
        private final int columnNumber;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. docs_src/handling_errors/tutorial006_py310.py

    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
        return await http_exception_handler(request, exc)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc):
        print(f"OMG! The client sent invalid data!: {exc}")
        return await request_validation_exception_handler(request, exc)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 928 bytes
    - Click Count (0)
  5. docs/de/docs/environment-variables.md

    Zum Beispiel könnten Sie eine Datei `main.py` haben mit:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Tipp
    
    Das zweite Argument von [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) ist der Defaultwert, der zurückgegeben wird.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 8K bytes
    - Click Count (2)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
                    if (threads <= 0) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  8. docs/ru/docs/python-types.md

    Аналогично вы бы объявили `tuple` и `set`:
    
    {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *}
    
    Это означает:
    
    * Переменная `items_t` — это `tuple` из 3 элементов: `int`, ещё один `int` и `str`.
    * Переменная `items_s` — это `set`, и каждый элемент имеет тип `bytes`.
    
    #### Dict { #dict }
    
    Чтобы определить `dict`, вы передаёте 2 параметра типов, разделённые запятой.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/dependencies/dependencies-with-yield.md

    Örneğin, [bir dosyayı okumak için `with` kullanabilirsiniz](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Temelde `open("./somefile.txt")`, "Context Manager" olarak adlandırılan bir nesne oluşturur.
    
    `with` bloğu bittiğinde, exception olsa bile dosyanın kapatılmasını garanti eder.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

         * This class models the result of running a command. It captures the exit code, standard output and standard error.
         */
        private static class Result {
            final int exitCode;
            final String stdout;
            final String stderr;
    
            Result(int exitCode, String stdout, String stderr) {
                this.exitCode = exitCode;
                this.stdout = stdout;
                this.stderr = stderr;
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
Back to Top