Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 862 for type (0.17 sec)

  1. misc/cgo/gmp/gmp.go

    	typedef __mpz_struct mpz_t[1];
    
    Cgo generates:
    
    	type _C_int int32
    	type _C_mp_limb_t uint64
    	type _C___mpz_struct struct {
    		_mp_alloc _C_int;
    		_mp_size _C_int;
    		_mp_d *_C_mp_limb_t;
    	}
    	type _C_mpz_t [1]_C___mpz_struct
    
    and then replaces each occurrence of a type C.xxx with _C_xxx.
    
    If xxx is data, cgo arranges for C.xxx to refer to the C variable,
    with the type translated as described above.  To do this, cgo must
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    }
    
    func timestampCast(v *Value) (t time.Time, _ error) {
    	switch x := v.value.(type) {
    	case string:
    		return parseSQLTimestamp(x)
    	case []byte:
    		return parseSQLTimestamp(string(x))
    	case time.Time:
    		return x, nil
    	default:
    		return t, errCastFailure(fmt.Sprintf("cannot cast %v to Timestamp type", v.GetTypeString()))
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/pkg/log"
    )
    
    type flagState interface {
    	run(out io.Writer) error
    }
    
    var (
    	_ flagState = (*resetState)(nil)
    	_ flagState = (*logLevelState)(nil)
    	_ flagState = (*stackTraceLevelState)(nil)
    	_ flagState = (*getAllLogLevelsState)(nil)
    )
    
    type resetState struct {
    	client *ControlzClient
    }
    
    func (rs *resetState) run(_ io.Writer) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. internal/config/policy/plugin/config.go

    	// subtype to avoid recursive call to UnmarshalJSON()
    	type subArgs Args
    	var so subArgs
    
    	if err := json.Unmarshal(data, &so); err != nil {
    		return err
    	}
    
    	oa := Args(so)
    	if oa.URL == nil || oa.URL.String() == "" {
    		*a = oa
    		return nil
    	}
    
    	*a = oa
    	return nil
    }
    
    // AuthZPlugin - implements opa policy agent calls.
    type AuthZPlugin struct {
    	args   Args
    	client *http.Client
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 14 21:50:16 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. internal/config/dns/store.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dns
    
    // Error - DNS related errors error.
    type Error struct {
    	Bucket string
    	Err    error
    }
    
    // ErrInvalidBucketName for buckets with invalid name
    type ErrInvalidBucketName Error
    
    func (e ErrInvalidBucketName) Error() string {
    	return e.Bucket + " invalid bucket name error: " + e.Err.Error()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  6. internal/config/policy/plugin/help.go

    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: "authorization header for plugin hook endpoint" + defaultHelpPostfix(AuthToken),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  7. cmd/api-resources.go

    			return
    		}
    	} else {
    		maxkeys = maxObjectList
    	}
    
    	prefix = values.Get("prefix")
    	marker = values.Get("marker")
    	delimiter = values.Get("delimiter")
    	encodingType = values.Get("encoding-type")
    	return
    }
    
    func getListBucketObjectVersionsArgs(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType, versionIDMarker string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/table/writer.go

    	"unicode/utf8"
    
    	"github.com/fatih/color"
    )
    
    type ColoredTableWriter struct {
    	writer     io.Writer
    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    func NewStyleWriter(writer io.Writer) *ColoredTableWriter {
    	return &ColoredTableWriter{
    		writer: writer,
    		rows:   make([]Row, 0),
    		header: Row{},
    	}
    }
    
    type BuildRowFunc func(obj interface{}) Row
    
    type Cell struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1.go

    // StatInfo - carries stat information of the object.
    type StatInfo struct {
    	Size    int64     `json:"size"`    // Size of the object `xl.meta`.
    	ModTime time.Time `json:"modTime"` // ModTime of the object `xl.meta`.
    	Name    string    `json:"name"`
    	Dir     bool      `json:"dir"`
    	Mode    uint32    `json:"mode"`
    }
    
    // ErasureInfo holds erasure coding and bitrot related information.
    type ErasureInfo struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. internal/config/dns/types.go

    package dns
    
    import (
    	"encoding/json"
    	"time"
    )
    
    const (
    	defaultTTL            = 30
    	defaultContextTimeout = 5 * time.Minute
    )
    
    // SrvRecord - represents a DNS service record
    type SrvRecord struct {
    	Host     string      `json:"host,omitempty"`
    	Port     json.Number `json:"port,omitempty"`
    	Priority int         `json:"priority,omitempty"`
    	Weight   int         `json:"weight,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
Back to top