Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3811 - 3820 of 4,250 for inst (0.1 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

         */
        @Override
        protected SearchResult search(final String query, final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) {
            final int pageSize = params.getPageSize();
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 09:24:04 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            } catch (final Exception e) {
                throw new StorageException("Failed to delete " + objectName, e);
            }
        }
    
        @Override
        public List<StorageItem> listObjects(final String prefix, final int maxItems) {
            final List<StorageItem> items = new ArrayList<>();
    
            try {
                final ListObjectsV2Request.Builder requestBuilder =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      }
    
      class RealBackend(
        threadFactory: ThreadFactory,
      ) : Backend {
        val executor =
          ThreadPoolExecutor(
            // corePoolSize:
            0,
            // maximumPoolSize:
            Int.MAX_VALUE,
            // keepAliveTime:
            60L,
            TimeUnit.SECONDS,
            SynchronousQueue(),
            threadFactory,
          )
    
        override fun nanoTime() = System.nanoTime()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      /** intValue returns current value. */
      public void testIntValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0, at.intValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((int) x, at.intValue());
        }
      }
    
      /** longValue returns current value. */
      public void testLongValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0L, at.longValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. internal/bucket/replication/replication.go

    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    		return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String()
    	})
    
    	return rules
    }
    
    // GetDestination returns destination bucket and storage class.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

            }
        }
    
        private static List<Element> elementList(NodeList resourcesNodes) {
            List<Element> nodeList = new ArrayList<>(resourcesNodes.getLength());
            for (int idx = 0; idx < resourcesNodes.getLength(); idx++) {
                nodeList.add((Element) resourcesNodes.item(idx));
            }
            return nodeList;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
Back to Top