Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1781 - 1790 of 2,522 for checkOn (0.1 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

      for (i in namesAndValues.indices) {
        @Suppress("SENSELESS_COMPARISON")
        require(namesAndValues[i] != null) { "Headers cannot be null" }
        namesAndValues[i] = inputNamesAndValues[i].trim()
      }
    
      // Check for malformed headers.
      for (i in namesAndValues.indices step 2) {
        val name = namesAndValues[i]
        val value = namesAndValues[i + 1]
        headersCheckName(name)
        headersCheckValue(value, name)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            // Stub the getPath method to return a specific value
            when(mockDir.getPath()).thenReturn("/share/folder/");
    
            // Implementation uses dir.getPath() to check if file should be in that path
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null)
                    return false;
                String path = dir.getPath();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                                String goalPrefix = mayGetChild(root, "goalPrefix");
                                String name = mayGetChild(root, "name");
                                // sanity check: plugin descriptor extracted from artifact must have same GA
                                if (Objects.equals(artifact.getGroupId(), groupId)
                                        && Objects.equals(artifact.getArtifactId(), artifactId)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/query-params.md

    * `limit=10`:使用默认值
    
    ## 可选参数 { #optional-parameters }
    
    同理,把默认值设为 `None` 即可声明可选的查询参数:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    本例中,查询参数 `q` 是可选的,默认值为 `None`。
    
    /// check | 检查
    
    注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。
    
    ///
    
    ## 查询参数类型转换 { #query-parameter-type-conversion }
    
    参数还可以声明为 `bool` 类型,FastAPI 会自动转换参数类型:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. cmd/post-policy_test.go

    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	// Now check if we actually wrote to backend (regardless of the response
    	// returned by the server).
    	z := obj.(*erasureServerPools)
    	xl := z.serverPools[0].sets[0]
    	erasureDisks := xl.getDisks()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  6. cmd/iam-store.go

    // information in IAM (i.e sys.iam*Map) - this info is stored only in the STS
    // generated credentials. Thus we skip looking up group memberships, user map,
    // and group map and check the appropriate policy maps directly.
    func (c *iamCache) policyDBGet(store *IAMStoreSys, name string, isGroup bool, policyPresent bool) ([]string, time.Time, error) {
    	if isGroup {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

     */
    @GwtCompatible
    public abstract class FluentIterable<E extends @Nullable Object> implements Iterable<E> {
      // We store 'iterable' and use it instead of 'this' to allow Iterables to perform instanceof
      // checks on the _original_ iterable when FluentIterable.from is used.
      // To avoid a self retain cycle under j2objc, we store null instead of
      // a reference to 'this'. To access the delegate iterable, call #getDelegate(), which converts
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

     */
    @GwtCompatible
    public abstract class FluentIterable<E extends @Nullable Object> implements Iterable<E> {
      // We store 'iterable' and use it instead of 'this' to allow Iterables to perform instanceof
      // checks on the _original_ iterable when FluentIterable.from is used.
      // To avoid a self retain cycle under j2objc, we store null instead of
      // a reference to 'this'. To access the delegate iterable, call #getDelegate(), which converts
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

        @Test
        public void test_serialization() {
            // Test that the exception has proper serialVersionUID
            DataStoreException exception = new DataStoreException("Serialization test");
    
            // Check that it's a RuntimeException and can be thrown
            try {
                throw exception;
            } catch (DataStoreException e) {
                assertEquals("Serialization test", e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            // Verify response contains meaningful data
            assertNotNull(res, "Stats response should not be null");
            assertTrue(res.size() > 0, "Stats should contain at least some data");
    
            // Check for common stats fields (these may need to be adjusted based on actual implementation)
            // Examples of fields that might be present:
            // - Document count
            // - Index size
            // - Memory usage
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top