Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for Trune (0.08 sec)

  1. src/syscall/syscall_windows.go

    			// or is one half of a valid surrogate pair.
    			// If it is half of a pair, we will add 3 for the second surrogate
    			// (total of 6) and overestimate by 2 bytes for the pair,
    			// since the resulting rune only requires 4 bytes.
    			maxLen += 3
    		}
    	}
    	buf := decodeWTF16(s, make([]byte, 0, maxLen))
    	return unsafe.String(unsafe.SliceData(buf), len(buf))
    }
    
    // utf16PtrToString is like UTF16ToString, but takes *uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    		var f Float
    		if x != 0 {
    			f.SetInt64(int64(x))
    		}
    		// x == 0 translates into the zero value
    		return &f
    	}
    	for _, test := range []struct {
    		z, x, y, want int
    		opname        rune
    		op            func(z, x, y *Float) *Float
    	}{
    		{0, 0, 0, 0, '+', (*Float).Add},
    		{0, 1, 2, 3, '+', (*Float).Add},
    		{1, 2, 0, 2, '+', (*Float).Add},
    		{2, 0, 1, 1, '+', (*Float).Add},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  3. src/go/printer/nodes.go

    	// nodeSize invokes the printer, which may invoke nodeSize
    	// recursively. For deep composite literal nests, this can
    	// lead to an exponential algorithm. Remember previous
    	// results to prune the recursion (was issue 1628).
    	if size, found := p.nodeSizes[n]; found {
    		return size
    	}
    
    	size = maxSize + 1 // assume n doesn't fit
    	p.nodeSizes[n] = size
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/conversion.go

    				} else {
    					addrType = k8s.HostnameAddressType
    				}
    				gs.Addresses = append(gs.Addresses, k8s.GatewayStatusAddress{
    					Value: addr,
    					Type:  &addrType,
    				})
    			}
    		}
    		// Prune listeners that have been removed
    		haveListeners := getListenerNames(obj)
    		listeners := make([]k8s.ListenerStatus, 0, len(gs.Listeners))
    		for _, l := range gs.Listeners {
    			if haveListeners.Contains(l.Name) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/out.go

    	"bool":       {Size: 1, Align: 1, C: c("GoUint8")},
    	"byte":       {Size: 1, Align: 1, C: c("GoUint8")},
    	"int":        {Size: 0, Align: 0, C: c("GoInt")},
    	"uint":       {Size: 0, Align: 0, C: c("GoUint")},
    	"rune":       {Size: 4, Align: 4, C: c("GoInt32")},
    	"int8":       {Size: 1, Align: 1, C: c("GoInt8")},
    	"uint8":      {Size: 1, Align: 1, C: c("GoUint8")},
    	"int16":      {Size: 2, Align: 2, C: c("GoInt16")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/load.go

    				changed = true
    				break
    			}
    			if pkg.err != nil {
    				// Promoting a module to a root may resolve an import that was
    				// previously missing (by pulling in a previously-prune dependency that
    				// provides it) or ambiguous (by promoting exactly one of the
    				// alternatives to a root and ignoring the second-level alternatives) or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	runtime.ExitSyscall()
    	if r0 == 0 {
    		return "", fmt.Errorf("%s (errno2=0x%x)\n", err1.Error(), err2)
    	}
    	s := string(termdev[:])
    	idx := strings.Index(s, string(rune(0)))
    	if idx == -1 {
    		tty = s
    	} else {
    		tty = s[:idx]
    	}
    	return
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top