Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for Cook (0.24 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

     * property which happens very early.  The implementation used in this case
     * will be discovered using the JDK service mechanism.
     *
     * The default implementation will look for a {@code .mvn} child directory
     * or a {@code pom.xml} containing the {@code root="true"} attribute.
     */
    public interface RootLocator {
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/sts-handlers.go

    	// Set the newly generated credentials.
    	updatedAt, err := globalIAMSys.SetTempUser(ctx, cred.AccessKey, cred, "")
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err)
    		return
    	}
    
    	// Call hook for site replication.
    	if cred.ParentUser != globalActiveCred.AccessKey {
    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    			Type: madmin.SRIAMItemSTSAcc,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  3. docs/en/docs/tutorial/schema-extra-example.md

        ```Python hl_lines="20-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ### Example in the docs UI
    
    With any of the methods above it would look like this in the `/docs`:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` with multiple `examples`
    
    You can of course also pass multiple `examples`:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. internal/logger/logonce.go

    func unwrapErrs(err error) (leafErr error) {
    	uerr := errors.Unwrap(err)
    	depth := 1
    	for uerr != nil {
    		// Save the current `uerr`
    		leafErr = uerr
    		// continue to look for leaf errors underneath
    		uerr = errors.Unwrap(leafErr)
    		depth++
    		if depth == unwrapErrsDepth {
    			// If we have reached enough depth we
    			// do not further recurse down, this
    			// is done to avoid any unnecessary
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. internal/grid/muxclient.go

    }
    
    // respHandler
    func (m *muxClient) handleOneWayStream(respHandler chan<- Response, respServer <-chan Response) {
    	if debugPrint {
    		start := time.Now()
    		defer func() {
    			fmt.Println("Mux", m.MuxID, "Request took", time.Since(start).Round(time.Millisecond))
    		}()
    	}
    	defer func() {
    		// addErrorNonBlockingClose will close the response channel
    		// - maybe async, so we shouldn't do it here.
    		if m.respErr.Load() == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. schema/relationship_test.go

    }
    
    type Author struct {
    	gorm.Model
    }
    
    type Book struct {
    	gorm.Model
    	Author   Author
    	AuthorID uint
    }
    
    func (Book) TableName() string {
    	return "my_schema.a_very_very_very_very_very_very_very_very_long_table_name"
    }
    
    func TestParseConstraintNameWithSchemaQualifiedLongTableName(t *testing.T) {
    	s, err := schema.Parse(
    		&Book{},
    		&sync.Map{},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cmd/bucket-versioning-handler.go

    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    	//
    	// We encode the xml bytes as base64 to ensure there are no encoding
    	// errors.
    	cfgStr := base64.StdEncoding.EncodeToString(configData)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

                "Retry-After",
                "1",
              ),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
        val request = Request(server.url("/"))
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("You took too long!")
      }
    
      @Test
      fun requestBodyRetransmittedOnClientRequestTimeout() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	if err := objectAPI.MakeBucket(ctx, bucket, opts); err != nil {
    		if _, ok := err.(BucketExists); ok {
    			// Though bucket exists locally, we send the site-replication
    			// hook to ensure all sites have this bucket. If the hook
    			// succeeds, the client will still receive a bucket exists
    			// message.
    			globalSiteReplicationSys.MakeBucketHook(ctx, bucket, opts)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/pod_cache_test.go

    	if netns1 != netnsTaken {
    		t.Fatalf("Expected the original Netns for the same uid, got %p and %p", netns1, ns)
    	}
    	if nil != p.Take(string(pod.UID)) {
    		// expect nil because we already took it
    		t.Fatalf("Expected nil Netns for the same uid twice")
    	}
    }
    
    var counter atomic.Int64
    
    func inc() uintptr {
    	return uintptr(counter.Add(1))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top