Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for nntp (0.11 sec)

  1. src/net/textproto/textproto.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package textproto implements generic support for text-based request/response
    // protocols in the style of HTTP, NNTP, and SMTP.
    //
    // The package provides:
    //
    // [Error], which represents a numeric error response from
    // a server.
    //
    // [Pipeline], to manage pipelined requests and responses
    // in a client.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/go/doc/comment/parse.go

    // are added here, the fast path at the top of autoURL will need updating.
    func isScheme(s string) bool {
    	switch s {
    	case "file",
    		"ftp",
    		"gopher",
    		"http",
    		"https",
    		"mailto",
    		"nntp":
    		return true
    	}
    	return false
    }
    
    // isHost reports whether c is a byte that can appear in a URL host,
    // like www.example.com or user@[::1]:8080
    func isHost(c byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  3. test/nilcheck.go

    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    	empty1p    *Empty1
    )
    
    func f1() {
    	_ = *intp    // ERROR "nil check"
    	_ = *arrayp  // ERROR "nil check"
    	_ = *array0p // ERROR "nil check"
    	_ = *array0p // ERROR "nil check"
    	_ = *intp    // ERROR "nil check"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. test/nilptr2.go

    	V = x
    }
    
    var tests = []struct{
    	name string
    	fn func()
    }{
    	// Edit .+1,/^}/s/^[^	].+/	{"&", func() { println(&) }},\n	{"\&&", func() { println(\&&) }},/g
    	{"*intp", func() { println(*intp) }},
    	{"&*intp", func() { println(&*intp) }},
    	{"*slicep", func() { println(*slicep) }},
    	{"&*slicep", func() { println(&*slicep) }},
    	{"(*slicep)[0]", func() { println((*slicep)[0]) }},
    	{"&(*slicep)[0]", func() { println(&(*slicep)[0]) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 03:02:33 UTC 2019
    - 3.6K bytes
    - Viewed (0)
  5. test/nilptr3.go

    	Z string
    }
    
    type Empty struct {
    }
    
    type Empty1 struct {
    	Empty
    }
    
    var (
    	intp       *int
    	arrayp     *[10]int
    	array0p    *[0]int
    	bigarrayp  *[1 << 26]int
    	structp    *Struct
    	bigstructp *BigStruct
    	emptyp     *Empty
    	empty1p    *Empty1
    )
    
    func f1() {
    	_ = *intp // ERROR "generated nil check"
    
    	// This one should be removed but the block copy needs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    		},
    		{
    			input: &baz{
    				Ptr:  intp(5),
    				Bptr: boolp(true),
    			},
    			expected: url.Values{"ptr": {"5"}, "bptr": {"true"}},
    		},
    		{
    			input: &baz{
    				Bptr: boolp(true),
    			},
    			expected: url.Values{"ptr": {""}, "bptr": {"true"}},
    		},
    		{
    			input: &baz{
    				Ptr: intp(5),
    			},
    			expected: url.Values{"ptr": {"5"}},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	if fn(nttp) {
    		nttp.Name.Traverse(fn)
    		nttp.Type.Traverse(fn)
    	}
    }
    
    func (nttp *NonTypeTemplateParam) Copy(fn func(AST) AST, skip func(AST) bool) AST {
    	if skip(nttp) {
    		return nil
    	}
    	name := nttp.Name.Copy(fn, skip)
    	typ := nttp.Type.Copy(fn, skip)
    	if name == nil && typ == nil {
    		return fn(nttp)
    	}
    	if name == nil {
    		name = nttp.Name
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  8. src/math/big/prime.go

    	natP := nat(nil).setWord(p)
    	vk := nat(nil).setWord(2)
    	vk1 := nat(nil).setWord(p)
    	t2 := nat(nil) // temp
    	for i := int(s.bitLen()); i >= 0; i-- {
    		if s.bit(uint(i)) != 0 {
    			// k' = 2k+1
    			// V(k') = V(2k+1) = V(k) V(k+1) - P.
    			t1 = t1.mul(vk, vk1)
    			t1 = t1.add(t1, n)
    			t1 = t1.sub(t1, natP)
    			t2, vk = t2.div(vk, t1, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  9. test/live.go

    type pstruct struct {
    	intp *int
    	_    [8]byte
    }
    
    func f30(b bool) {
    	// live temp during printintpointer(p):
    	// the internal iterator pointer if a pointer to pstruct in pstructarr
    	// can not be easily computed by strength reduction.
    	if b {
    		for _, p := range pstructarr { // ERROR "stack object .autotmp_[0-9]+ \[10\]pstruct$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    // UTCNowNTP - is similar in functionality to UTCNow()
    // but only used when we do not wish to rely on system
    // time.
    func UTCNowNTP() (time.Time, error) {
    	// ntp server is disabled
    	if ntpServer == "" {
    		return time.Now().UTC(), nil
    	}
    	return ntp.Time(ntpServer)
    }
    
    // Retention - bucket level retention configuration.
    type Retention struct {
    	Mode        RetMode
    	Validity    time.Duration
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top