Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for Chen (0.38 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * then we call it in a separate thread (using pseudoTimedGet). The result is that we wait as long
       * as necessary when the method is expected to return (at the cost of hanging forever if there is
       * a bug in the class under test) but that we time out fairly promptly when the method is expected
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. fastapi/applications.py

                bool,
                Doc(
                    """
                    Whether to generate separate OpenAPI schemas for request body and
                    response body when the results would be more precise.
    
                    This is particularly useful when automatically generating clients.
    
                    For example, if you have a model like:
    
                    ```python
                    from pydantic import BaseModel
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * for better programmatic control when processing many files under
     * a common base. This is slightly different from the corresponding
     * <code>java.io.File</code> usage; a '/' at the beginning of the second
     * parameter will still use the server component of the first parameter. The
     * examples below illustrate the resulting URLs when this second contructor
     * argument is used.
     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. cmd/server_test.go

    	c.Assert(n, int64(len([]byte("hello world"))))
    	// asserted the contents of the fetched object with the expected result.
    	c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
    
    	// Test the response when object name ends with a slash.
    	// This is a special case with size as '0' and object ends with
    	// a slash separator, we treat it like a valid operation and
    	// return success.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    	}
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` manages the operation.
    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    }
    
    // TestAPIPutObjectPartHandlerStreaming - Tests validate the response of PutObjectPart HTTP handler
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    			b.WriteRune(v)
    			continue
    		}
    		// v is capital letter here
    		// disregard first letter
    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    		// add underscore when next letter is lowercase
    		if (i != 0 || i == l-1) && ((i > 0 && rune(camel[i-1]) >= 'a') ||
    			(i < l-1 && rune(camel[i+1]) >= 'a')) {
    			b.WriteRune('_')
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

            )
        }
        add(FirErrors.NO_ELSE_IN_WHEN) { firDiagnostic ->
            NoElseInWhenImpl(
                firDiagnostic.a.map { whenMissingCase ->
                    whenMissingCase
                },
                firDiagnostic.b,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.NON_EXHAUSTIVE_WHEN_STATEMENT) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(range.body.string()).isEqualTo("AA")
        assertThat(get(url).body.string()).isEqualTo("BB")
      }
    
      /**
       * When the server returns a full response body we will store it and return it regardless of what
       * its Last-Modified date is. This behavior was different prior to OkHttp 3.5 when we would prefer
       * the response with the later Last-Modified date.
       *
       * https://github.com/square/okhttp/issues/2886
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		return
    	}
    
    	dataUsageInfoJSON, err := json.Marshal(dataUsageInfo)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Get capacity info when asked.
    	if r.Form.Get("capacity") == "true" {
    		sinfo := objectAPI.StorageInfo(ctx, false)
    		dataUsageInfo.TotalCapacity = GetTotalUsableCapacity(sinfo.Disks, sinfo)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  10. cmd/site-replication.go

    	return nil
    }
    
    // IAMChangeHook - called when IAM items need to be replicated to peer clusters.
    // This includes named policy creation, policy mapping changes and service
    // account changes.
    //
    // All policies are replicated.
    //
    // Policy mappings are only replicated when they are for LDAP users or groups
    // (as an external IDP is always assumed when SR is used). In the case of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top