Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2821 - 2830 of 3,163 for rint (0.03 seconds)

  1. docs/debugging/reorder-disks/main.go

    				return err
    			}
    			result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/")
    			return nil
    		})
    	if err != nil {
    		return nil, err
    	}
    	return result, nil
    }
    
    type localDisk struct {
    	index int
    	path  string
    }
    
    func getMajorMinor(path string) (string, error) {
    	var stat syscall.Stat_t
    	if err := syscall.Stat(path, &stat); err != nil {
    		return "", fmt.Errorf("unable to stat `%s`: %w", path, err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(3, 4, "B");
        graph.putEdgeValue(5, 6, "C");
    
        int threadCount = 20;
        ExecutorService executor = newFixedThreadPool(threadCount);
        CyclicBarrier barrier = new CyclicBarrier(threadCount);
        ImmutableList.Builder<Future<?>> futures = ImmutableList.builder();
        for (int i = 0; i < threadCount; i++) {
          futures.add(
              executor.submit(
                  () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/request-files.md

    `UploadFile` には次の `async` メソッドがあります。いずれも内部で対応するファイルメソッド(内部の `SpooledTemporaryFile`)を呼び出します。
    
    - `write(data)`: `data`(`str` または `bytes`)を書き込みます。
    - `read(size)`: `size`(`int`)バイト/文字を読み込みます。
    - `seek(offset)`: ファイル内のバイト位置 `offset`(`int`)に移動します。
        - 例: `await myfile.seek(0)` はファイルの先頭に移動します。
        - 一度 `await myfile.read()` を実行して、もう一度内容を読みたい場合に特に便利です。
    - `close()`: ファイルを閉じます。
    
    これらはすべて `async` メソッドなので、`await` する必要があります。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_veryLongMessage() {
            // Test with very long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message part ").append(i).append(" ");
            }
            String longMessage = sb.toString();
    
            ThemeException exception = new ThemeException(longMessage);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

            return new NeverScheduledFuture<>();
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return Long.MAX_VALUE;
          }
    
          @Override
          public int compareTo(Delayed other) {
            return Long.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS));
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/path-operation-configuration.md

    /// warning | 경고
    
    아래 매개변수들은 *경로 처리 함수*가 아닌 *경로 처리 데코레이터*에 직접 전달된다는 사실을 기억하세요.
    
    ///
    
    ## 응답 상태 코드 { #response-status-code }
    
    *경로 처리*의 응답에 사용될 (HTTP) `status_code`를 정의할 수 있습니다.
    
    `404`와 같은 `int`형 코드를 직접 전달할 수 있습니다.
    
    하지만 각 숫자 코드가 무엇을 의미하는지 기억하지 못한다면, `status`에 있는 단축 상수들을 사용할 수 있습니다:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    해당 상태 코드는 응답에 사용되며, OpenAPI 스키마에 추가됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/en/mkdocs.yml

      pymdownx.tilde: null
      pymdownx.blocks.admonition:
        types:
        - note
        - attention
        - caution
        - danger
        - error
        - tip
        - hint
        - warning
        - info
        - check
      pymdownx.blocks.details: null
      pymdownx.blocks.tab:
        alternate_style: true
      mdx_include: null
      markdown_include_variants: null
    extra:
      social:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/extra-models.md

    ```
    
    就能以如下方式调用:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    现在,变量 `user_dict` 中的是包含数据的 `dict`(它是 `dict`,不是 Pydantic 模型对象)。
    
    以如下方式调用:
    
    ```Python
    print(user_dict)
    ```
    
    输出的就是 Python `dict`:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final Map<String, List<String>> paramListMap = new HashMap<>();
            final String[] pairs = queryString.split("&");
            try {
                for (final String pair : pairs) {
                    final int pos = pair.indexOf('=');
                    if (pos >= 0) {
                        final String key = urlCodec.decode(pair.substring(0, pos), enc);
                        List<String> list = paramListMap.get(key);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

            });
        }
    
        /**
         * Loads KeyMatch settings from the database and builds a query map.
         *
         * @return The number of loaded KeyMatch settings.
         */
        @Override
        public int load() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Map<String, Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>>> keyMatchQueryMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top