Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for chars (0.06 sec)

  1. src/go/printer/nodes.go

    				break
    			}
    		}
    	}
    	c.size += len(p)
    	return len(p), nil
    }
    
    // nodeSize determines the size of n in chars after formatting.
    // The result is <= maxSize if the node fits on one line with at
    // most maxSize chars and the formatted output doesn't contain
    // any control chars. Otherwise, the result is > maxSize.
    func (p *printer) nodeSize(n ast.Node, maxSize int) (size int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/mime/multipart/multipart_test.go

    		sep:  "abc",
    		in:   "--abc\r\nFoo: bar\r\n\r\n--abc--\r\n",
    		want: []headerBody{
    			{textproto.MIMEHeader{"Foo": {"bar"}}, ""},
    		},
    	},
    
    	// Final part empty with lwsp-chars after final separator.
    	{
    		name: "final part empty then lwsp",
    		sep:  "abc",
    		in:   "--abc\r\nFoo: bar\r\n\r\n--abc-- \t",
    		want: []headerBody{
    			{textproto.MIMEHeader{"Foo": {"bar"}}, ""},
    		},
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 30.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    //		reference relative to SB.
    //
    //	$<floating point literal>
    //		Floating point constant value.
    //		Encoding:
    //			type = TYPE_FCONST
    //			val = floating point value
    //
    //	$<string literal, up to 8 chars>
    //		String literal value (raw bytes used for DATA instruction).
    //		Encoding:
    //			type = TYPE_SCONST
    //			val = string
    //
    //	<symbolic constant name>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testdata/chans.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package chans
    
    import "runtime"
    
    // Ranger returns a Sender and a Receiver. The Receiver provides a
    // Next method to retrieve values. The Sender provides a Send method
    // to send values and a Close method to stop sending values. The Next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/index/suffixarray/sais.go

    // sa[i] is either 0, the ID for the LMS-substring at index 2*i,
    // or the ID for the LMS-substring at index 2*i+1.
    // To produce the subproblem we need only remove the zeros
    // and change ID into ID-1 (our IDs start at 1, but text chars start at 0).
    //
    // map_32 packs the result, which is the input to the recursion,
    // into the top of sa, so that the recursion result can be stored
    // in the bottom of sa, which sets up for expand_8_32 well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    func CertGetNameString(certContext *CertContext, nameType uint32, flags uint32, typePara unsafe.Pointer, name *uint16, size uint32) (chars uint32) {
    	r0, _, _ := syscall.Syscall6(procCertGetNameStringW.Addr(), 6, uintptr(unsafe.Pointer(certContext)), uintptr(nameType), uintptr(flags), uintptr(typePara), uintptr(unsafe.Pointer(name)), uintptr(size))
    	chars = uint32(r0)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  7. test/typeparam/chans.go

    // run
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package chans provides utility functions for working with channels.
    package main
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sort"
    	"sync"
    	"time"
    )
    
    // _Equal reports whether two slices are equal: the same length and all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/term/terminal.go

    		t.clearAndRepaintLinePlusNPrevious(t.maxLine * 2)
    	case width > oldWidth:
    		// If the terminal expands then our position calculations will
    		// be wrong in the future because we think the cursor is
    		// |t.pos| chars into the string, but there will be a gap at
    		// the end of any wrapped line.
    		//
    		// But the position will actually be correct until we move, so
    		// we can move back to the beginning and repaint everything.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  9. src/text/scanner/scanner_test.go

    	{Float, "01234567890E-10"},
    
    	{Comment, "// chars"},
    	{Char, `' '`},
    	{Char, `'a'`},
    	{Char, `'本'`},
    	{Char, `'\a'`},
    	{Char, `'\b'`},
    	{Char, `'\f'`},
    	{Char, `'\n'`},
    	{Char, `'\r'`},
    	{Char, `'\t'`},
    	{Char, `'\v'`},
    	{Char, `'\''`},
    	{Char, `'\000'`},
    	{Char, `'\777'`},
    	{Char, `'\x00'`},
    	{Char, `'\xff'`},
    	{Char, `'\u0000'`},
    	{Char, `'\ufA16'`},
    	{Char, `'\U00000000'`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    	ERROR_NO_SUCH_INTERFACE_DEVICE               Errno = ERROR_NO_SUCH_DEVICE_INTERFACE
    )
    
    const (
    	MAX_DEVICE_ID_LEN   = 200
    	MAX_DEVNODE_ID_LEN  = MAX_DEVICE_ID_LEN
    	MAX_GUID_STRING_LEN = 39 // 38 chars + terminator null
    	MAX_CLASS_NAME_LEN  = 32
    	MAX_PROFILE_LEN     = 80
    	MAX_CONFIG_VALUE    = 9999
    	MAX_INSTANCE_VALUE  = 9999
    	CONFIGMG_VERSION    = 0x0400
    )
    
    // Maximum string length constants
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
Back to top