Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for setLinger (0.16 sec)

  1. src/fmt/print.go

    type Formatter interface {
    	Format(f State, verb rune)
    }
    
    // Stringer is implemented by any value that has a String method,
    // which defines the “native” format for that value.
    // The String method is used to print values passed as an operand
    // to any format that accepts a string or to an unformatted printer
    // such as [Print].
    type Stringer interface {
    	String() string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. Makefile

    	@echo "Installing msgp" && go install -v github.com/tinylib/msgp@v1.1.10-0.20240227114326-6d6f813fff1b
    	@echo "Installing stringer" && go install -v golang.org/x/tools/cmd/stringer@latest
    
    crosscompile: ## cross compile minio
    	@(env bash $(PWD)/buildscripts/cross-compile.sh)
    
    verifiers: lint check-gen
    
    check-gen: ## check for updated autogenerated files
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    type rebalStatus uint8
    
    const (
    	rebalNone rebalStatus = iota
    	rebalStarted
    	rebalCompleted
    	rebalStopped
    	rebalFailed
    )
    
    type rebalanceInfo struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. pkg/config/model.go

    	return c.CreationTimestamp
    }
    
    func (c Config) NamespacedName() kubetypes.NamespacedName {
    	return kubetypes.NamespacedName{
    		Namespace: c.Namespace,
    		Name:      c.Name,
    	}
    }
    
    var _ fmt.Stringer = GroupVersionKind{}
    
    type GroupVersionKind struct {
    	Group   string `json:"group"`
    	Version string `json:"version"`
    	Kind    string `json:"kind"`
    }
    
    func (g GroupVersionKind) String() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    }
    `
    		csrc = `
    package c
    
    import (
    	"a"
    	"fmt"
    	"html/template"
    )
    
    // go.dev/issue/46905: make sure template is not the first package qualified.
    var _ fmt.Stringer = 1 // ERRORx "cannot use 1.*as fmt\\.Stringer"
    
    // Packages should be fully qualified when there is ambiguity in reachable
    // packages. In this case both a (and for that matter html/template) import
    // text/template.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	}
    	ctx, span := tracing.Start(ctx, "Call mutating webhook",
    		attribute.String("configuration", configurationName),
    		attribute.String("webhook", h.Name),
    		attribute.Stringer("resource", attr.GetResource()),
    		attribute.String("subresource", attr.GetSubresource()),
    		attribute.String("operation", string(attr.GetOperation())),
    		attribute.String("UID", string(uid)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/issues_test.go

    }
    `
    		csrc = `
    package c
    
    import (
    	"a"
    	"fmt"
    	"html/template"
    )
    
    // go.dev/issue/46905: make sure template is not the first package qualified.
    var _ fmt.Stringer = 1 // ERRORx "cannot use 1.*as fmt\\.Stringer"
    
    // Packages should be fully qualified when there is ambiguity in reachable
    // packages. In this case both a (and for that matter html/template) import
    // text/template.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor.go

    	}
    	return struct {
    		VolumeName, UniqueName, NodeName string
    	}{
    		VolumeName: volumeSpecName,
    		UniqueName: string(volume.VolumeName),
    		NodeName:   string(volume.NodeName),
    	}
    }
    
    var _ fmt.Stringer = &VolumeToAttach{}
    var _ logr.Marshaler = &VolumeToAttach{}
    
    // VolumeToMount represents a volume that should be attached to this node and
    // mounted to the PodName.
    type VolumeToMount struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top