Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 104 for tilde (0.04 sec)

  1. src/go/scanner/scanner_test.go

    	{token.PERIOD, ".", operator},
    
    	{token.RPAREN, ")", operator},
    	{token.RBRACK, "]", operator},
    	{token.RBRACE, "}", operator},
    	{token.SEMICOLON, ";", operator},
    	{token.COLON, ":", operator},
    	{token.TILDE, "~", operator},
    
    	// Keywords
    	{token.BREAK, "break", keyword},
    	{token.CASE, "case", keyword},
    	{token.CHAN, "chan", keyword},
    	{token.CONST, "const", keyword},
    	{token.CONTINUE, "continue", keyword},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/builtins.go

    		var terms []*Term
    		if !tp.is(func(t *term) bool {
    			if t == nil {
    				return false
    			}
    			if r := f(t.typ); r != nil {
    				terms = append(terms, NewTerm(t.tilde, r))
    				return true
    			}
    			return false
    		}) {
    			return nil
    		}
    
    		// We can type-check this fine but we're introducing a synthetic
    		// type parameter for the result. It's not clear what the API
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. src/go/types/decl.go

    	// embed it in an implicit interface so that only interface type-checking
    	// needs to take care of such type expressions.
    	wrap := false
    	switch op := x.(type) {
    	case *ast.UnaryExpr:
    		wrap = op.Op == token.TILDE
    	case *ast.BinaryExpr:
    		wrap = op.Op == token.OR
    	}
    	if wrap {
    		x = &ast.InterfaceType{Methods: &ast.FieldList{List: []*ast.Field{{Type: x}}}}
    		t := check.typ(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    package tlog
    
    import (
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // A Tile is a description of a transparency log tile.
    // A tile of height H at level L offset N lists W consecutive hashes
    // at level H*L of the tree starting at offset N*(2**H).
    // A complete tile lists 2**H hashes; a partial tile lists fewer.
    // Note that a tile represents the entire subtree of height H
    // with those hashes as the leaves. The levels above H*L
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. src/encoding/xml/xml.go

    	"Igrave":   "\u00CC",
    	"Iacute":   "\u00CD",
    	"Icirc":    "\u00CE",
    	"Iuml":     "\u00CF",
    	"ETH":      "\u00D0",
    	"Ntilde":   "\u00D1",
    	"Ograve":   "\u00D2",
    	"Oacute":   "\u00D3",
    	"Ocirc":    "\u00D4",
    	"Otilde":   "\u00D5",
    	"Ouml":     "\u00D6",
    	"times":    "\u00D7",
    	"Oslash":   "\u00D8",
    	"Ugrave":   "\u00D9",
    	"Uacute":   "\u00DA",
    	"Ucirc":    "\u00DB",
    	"Uuml":     "\u00DC",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  6. src/go/types/expr.go

    			x.mode = invalid
    			return
    		}
    
    		x.mode = commaok
    		x.typ = ch.elem
    		check.hasCallOrRecv = true
    		return
    
    	case token.TILDE:
    		// Provide a better error position and message than what check.op below would do.
    		if !allInteger(x.typ) {
    			check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint")
    			x.mode = invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/expr.go

    			x.mode = invalid
    			return
    		}
    		x.mode = commaok
    		x.typ = ch.elem
    		check.hasCallOrRecv = true
    		return
    
    	case syntax.Tilde:
    		// Provide a better error position and message than what check.op below would do.
    		if !allInteger(x.typ) {
    			check.error(e, UndefinedOp, "cannot use ~ outside of interface or type constraint")
    			x.mode = invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  8. src/go/printer/nodes.go

    func isTypeElem(x ast.Expr) bool {
    	switch x := x.(type) {
    	case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
    		return true
    	case *ast.UnaryExpr:
    		return x.Op == token.TILDE
    	case *ast.BinaryExpr:
    		return isTypeElem(x.X) || isTypeElem(x.Y)
    	case *ast.ParenExpr:
    		return isTypeElem(x.X)
    	}
    	return false
    }
    
    func (p *printer) signature(sig *ast.FuncType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

        const tpu::TPUCompileMetadataProto& metadata);
    
    // Gets the proper tensor dimension from XLA OpSharding.
    // "replicate_on_last_tile_dim" and "last_tile_dims" should be deducted from the
    // real Tensor dimensions when tiled.
    // For example:
    // f32[8,512](sharding={devices=[1,1,2]0,1 last_tile_dims={REPLICATED})
    // also means a replicated tensor over all devices.
    //
    // See xla_data.proto for detailed explanations on the fields.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	return "/" + tile.Path()
    }
    
    // readTile reads a single tile, either from the on-disk cache or the server.
    func (c *Client) readTile(tile tlog.Tile) ([]byte, error) {
    	type cached struct {
    		data []byte
    		err  error
    	}
    
    	result := c.tileCache.Do(tile, func() interface{} {
    		// Try the requested tile in on-disk cache.
    		data, err := c.ops.ReadCache(c.tileCacheKey(tile))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top