Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for represent (0.73 sec)

  1. src/cmd/compile/internal/types2/tuple.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple.
    // Tuples are used as components of signatures and to represent the type of multiple
    // assignments; they are not first class types of Go.
    type Tuple struct {
    	vars []*Var
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 26 17:18:58 UTC 2021
    - 929 bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/report/shortnames.go

    	"regexp"
    
    	"github.com/google/pprof/internal/graph"
    )
    
    var sepRE = regexp.MustCompile(`::|\.`)
    
    // shortNameList returns a non-empty sequence of shortened names
    // (in decreasing preference) that can be used to represent name.
    func shortNameList(name string) []string {
    	name = graph.ShortenFunctionName(name)
    	seps := sepRE.FindAllStringIndex(name, -1)
    	result := make([]string, 0, len(seps)+1)
    	result = append(result, name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/s390x/condition_code.go

    package s390x
    
    import (
    	"fmt"
    )
    
    // CCMask represents a 4-bit condition code mask. Bits that
    // are not part of the mask should be 0.
    //
    // Condition code masks represent the 4 possible values of
    // the 2-bit condition code as individual bits. Since IBM Z
    // is a big-endian platform bits are numbered from left to
    // right. The lowest value, 0, is represented by 8 (0b1000)
    // and the highest value, 3, is represented by 1 (0b0001).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue4029.c

    // license that can be found in the LICENSE file.
    
    //go:build !windows && !static && !(darwin && internal)
    
    #include <stdint.h>
    #include <dlfcn.h>
    
    // Write our own versions of dlopen/dlsym/dlclose so that we represent
    // the opaque handle as a Go uintptr rather than a Go pointer to avoid
    // garbage collector confusion.  See issue 23663.
    
    uintptr_t dlopen4029(char* name, int flags) {
    	return (uintptr_t)(dlopen(name, flags));
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 781 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/sparseset.go

    package ssa
    
    // from https://research.swtch.com/sparse
    // in turn, from Briggs and Torczon
    
    type sparseSet struct {
    	dense  []ID
    	sparse []int32
    }
    
    // newSparseSet returns a sparseSet that can represent
    // integers between 0 and n-1.
    func newSparseSet(n int) *sparseSet {
    	return &sparseSet{dense: nil, sparse: make([]int32, n)}
    }
    
    func (s *sparseSet) cap() int {
    	return len(s.sparse)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/termlist.go

    package types2
    
    import "strings"
    
    // A termlist represents the type set represented by the union
    // t1 ∪ y2 ∪ ... tn of the type sets of the terms t1 to tn.
    // A termlist is in normal form if all terms are disjoint.
    // termlist operations don't require the operands to be in
    // normal form.
    type termlist []*term
    
    // allTermlist represents the set of all types.
    // It is in normal form.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:29:30 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/const.go

    	var val constant.Value
    	switch {
    	case typ.IsInteger():
    		val = intOne
    	case typ.IsFloat():
    		val = floatOne
    	case typ.IsComplex():
    		val = complexOne
    	default:
    		base.FatalfAt(pos, "%v cannot represent 1", typ)
    	}
    
    	return NewBasicLit(pos, typ, val)
    }
    
    var (
    	intOne     = constant.MakeInt64(1)
    	floatOne   = constant.ToFloat(intOne)
    	complexOne = constant.ToComplex(intOne)
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/mono.go

    // if the graph has any cycles involving at least one derived type.
    //
    // Concretely, we construct a directed, weighted graph. Vertices are
    // used to represent type parameters as well as some defined
    // types. Edges are used to represent how types depend on each other:
    //
    // * Everywhere a type-parameterized function or type is instantiated,
    //   we add edges to each type parameter from the vertices (if any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/tokens.go

    	return tokset&(1<<tok) != 0
    }
    
    type LitKind uint8
    
    // TODO(gri) With the 'i' (imaginary) suffix now permitted on integer
    // and floating-point numbers, having a single ImagLit does
    // not represent the literal kind well anymore. Remove it?
    const (
    	IntLit LitKind = iota
    	FloatLit
    	ImagLit
    	RuneLit
    	StringLit
    )
    
    type Operator uint
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typeterm.go

    	switch {
    	case x == nil:
    		return "∅"
    	case x.typ == nil:
    		return "𝓤"
    	case x.tilde:
    		return "~" + x.typ.String()
    	default:
    		return x.typ.String()
    	}
    }
    
    // equal reports whether x and y represent the same type set.
    func (x *term) equal(y *term) bool {
    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    		return x.typ == y.typ
    	}
    	// ∅ ⊂ x, y ⊂ 𝓤
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top