Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 448 for IOTA (0.03 sec)

  1. src/internal/types/testdata/check/constdecl.go

    const (
    	c = len([1 - iota]int{})
    	d
    	e // ERROR "invalid array length"
    	f // ERROR "invalid array length"
    )
    
    // Test that identifiers in implicit (omitted) RHS
    // expressions of constant declarations are resolved
    // in the correct context; see issues #49157, #53585.
    const X = 2
    
    func _() {
    	const (
    		A    = iota // 0
    		iota = iota // 1
    		B           // 1 (iota is declared locally on prev. line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          return false;
        }
      }
      return true;
    }
    
    // It returns "true" when Value $iota is obtained from the following mlir code:
    //
    // $iota = "mhlo.iota"(){iota_dimension = $dimensions[0]},
    //
    // where $dimensions must have size 1 and iota can have rank>=1.
    // It usually used for matching rank 1 iota since the iotaOp will be folded to
    // IotaOp + BroadCastInDimOp except for the case when result shape is rank 1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/noder/codes.go

    const (
    	assignBlank codeAssign = iota
    	assignDef
    	assignExpr
    )
    
    // A codeDecl distinguishes among declaration encodings.
    type codeDecl int
    
    func (c codeDecl) Marker() pkgbits.SyncMarker { return pkgbits.SyncDecl }
    func (c codeDecl) Value() int                 { return int(c) }
    
    const (
    	declEnd codeDecl = iota
    	declFunc
    	declMethod
    	declVar
    	declOther
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 20:07:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/syscall/net_fake.go

    package syscall
    
    const (
    	AF_UNSPEC = iota
    	AF_UNIX
    	AF_INET
    	AF_INET6
    )
    
    const (
    	SOCK_STREAM = 1 + iota
    	SOCK_DGRAM
    	SOCK_RAW
    	SOCK_SEQPACKET
    )
    
    const (
    	IPPROTO_IP   = 0
    	IPPROTO_IPV4 = 4
    	IPPROTO_IPV6 = 0x29
    	IPPROTO_TCP  = 6
    	IPPROTO_UDP  = 0x11
    )
    
    const (
    	SOMAXCONN = 0x80
    )
    
    const (
    	_ = iota
    	IPV6_V6ONLY
    	SO_ERROR
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 883 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.h

    namespace mlir {
    namespace odml {
    // The following 5 different forms of mhlo::iota will be matched:
    // 1. IotaOp.
    // 2. IotaOp + BroadCastInDim.
    // 3. IotaOp + Reshape.
    // 4. Constant (folded Iota) + BroadCastInDim.
    // 5. Constant (folded result).
    // Moreover, the dimensions has to match the iota_dimension.
    bool MatchIota(DenseIntElementsAttr dimensions, Value iota);
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/doc/testdata/pkg.go

    }{
    	{"FieldVal1", 1}: {},
    	{"FieldVal2", 2}: {},
    	{"FieldVal3", 3}: {},
    }
    
    const (
    	_, _ uint64 = 2 * iota, 1 << iota
    	constLeft1, constRight1
    	ConstLeft2, constRight2
    	constLeft3, ConstRight3
    	ConstLeft4, ConstRight4
    )
    
    const (
    	ConstGroup1 unexportedType = iota
    	ConstGroup2
    	ConstGroup3
    )
    
    const ConstGroup4 ExportedType = ExportedType{}
    
    func newLongLine(ss ...string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/tokens.go

    // not represent the literal kind well anymore. Remove it?
    const (
    	IntLit LitKind = iota
    	FloatLit
    	ImagLit
    	RuneLit
    	StringLit
    )
    
    type Operator uint
    
    //go:generate stringer -type Operator -linecomment tokens.go
    
    const (
    	_ Operator = iota
    
    	// Def is the : in :=
    	Def   // :
    	Not   // !
    	Recv  // <-
    	Tilde // ~
    
    	// precOrOr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/networking.go

    )
    
    // ListenerProtocol is the protocol associated with the listener.
    type ListenerProtocol int
    
    const (
    	// ListenerProtocolUnknown is an unknown type of listener.
    	ListenerProtocolUnknown = iota
    	// ListenerProtocolTCP is a TCP listener.
    	ListenerProtocolTCP
    	// ListenerProtocolHTTP is an HTTP listener.
    	ListenerProtocolHTTP
    	// ListenerProtocolAuto enables auto protocol detection
    	ListenerProtocolAuto
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 18 09:42:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/constants/constants.go

    // so callers should just use these enums to indicate what they want to do.
    type IptablesCmd int
    
    const (
    	IPTables        IptablesCmd = iota
    	IPTablesSave    IptablesCmd = iota
    	IPTablesRestore IptablesCmd = iota
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 01:42:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/a.out.go

    const (
    	BIG = 2048 - 8
    )
    
    const (
    	/* mark flags */
    	LABEL = 1 << iota
    	LEAF
    	FLOAT
    	BRANCH
    	LOAD
    	FCMP
    	SYNC
    	LIST
    	FOLL
    	NOSCHED
    )
    
    const (
    	// optab is sorted based on the order of these constants
    	// and the first match is chosen.
    	// The more specific class needs to come earlier.
    	C_NONE   = iota + 1 // starting from 1, leave unclassified Addr's class as 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
Back to top