Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for pname (0.05 sec)

  1. src/net/dnsclient_unix_test.go

    func mustNewName(name string) dnsmessage.Name {
    	nn, err := dnsmessage.NewName(name)
    	if err != nil {
    		panic(fmt.Sprint("creating name: ", err))
    	}
    	return nn
    }
    
    func mustQuestion(name string, qtype dnsmessage.Type, class dnsmessage.Class) dnsmessage.Question {
    	return dnsmessage.Question{
    		Name:  mustNewName(name),
    		Type:  qtype,
    		Class: class,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/time/time_test.go

    		t.Errorf("sec = %d, nsec = %d, want sec = %d, nsec = 0", t2.Second(), t2.Nanosecond(), sec)
    	}
    }
    
    func equalTimeAndZone(a, b Time) bool {
    	aname, aoffset := a.Zone()
    	bname, boffset := b.Zone()
    	return a.Equal(b) && aoffset == boffset && aname == bname
    }
    
    var gobTests = []Time{
    	Date(0, 1, 2, 3, 4, 5, 6, UTC),
    	Date(7, 8, 9, 10, 11, 12, 13, FixedZone("", 0)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			}
    
    			// Function is being used in an expression, to e.g. pass around a C function pointer.
    			// Create a new Name for this Ref which causes the variable to be declared in Go land.
    			fpName := "fp_" + r.Name.Go
    			name := f.Name[fpName]
    			if name == nil {
    				name = &Name{
    					Go:   fpName,
    					C:    r.Name.C,
    					Kind: "fpvar",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/os/os_test.go

    // NFS servers (Issue 848).
    func TestChtimesDir(t *testing.T) {
    	t.Parallel()
    
    	name := newDir("TestChtimes", t)
    	defer RemoveAll(name)
    
    	testChtimes(t, name)
    }
    
    func testChtimes(t *testing.T, name string) {
    	st, err := Stat(name)
    	if err != nil {
    		t.Fatalf("Stat %s: %s", name, err)
    	}
    	preStat := st
    
    	// Move access and modification time back a second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    // type with the specified name.
    func (d *dwctxt) find(name string) loader.Sym {
    	return d.tmap[name]
    }
    
    func (d *dwctxt) mustFind(name string) loader.Sym {
    	r := d.find(name)
    	if r == 0 {
    		Exitf("dwarf find: cannot find %s", name)
    	}
    	return r
    }
    
    func (d *dwctxt) adddwarfref(sb *loader.SymbolBuilder, t loader.Sym, size int) {
    	switch size {
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. pkg/controller/disruption/disruption_test.go

    			apiVersion: "invalid/v1",
    			kind:       controllerKindRS.Kind,
    			name:       rs.Name,
    			uid:        rs.UID,
    			findsScale: false,
    		},
    		"replicationcontroller with empty group": {
    			finderFunc:    dc.getPodReplicationController,
    			apiVersion:    "/v1",
    			kind:          controllerKindRC.Kind,
    			name:          rc.Name,
    			uid:           rc.UID,
    			findsScale:    true,
    			expectedScale: 12,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_windows.go

    	}
    	return
    }
    
    func connect(s Handle, name unsafe.Pointer, namelen int32) (err error) {
    	r1, _, e1 := Syscall(procconnect.Addr(), 3, uintptr(s), uintptr(name), uintptr(namelen))
    	if r1 == socket_error {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func GetHostByName(name string) (h *Hostent, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(name)
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 56.3K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    			// An entry with two frames with 'System' in its top frame
    			// exists to record a PC without a traceback. Those are okay.
    			if len(stk) == 2 {
    				name := stk[1].Line[0].Function.Name
    				if name == "runtime._System" || name == "runtime._ExternalCode" || name == "runtime._GC" {
    					return
    				}
    			}
    
    			// An entry with just one frame is OK too:
    			// it knew to stop at gogo.
    			if len(stk) == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    		osym := r.Sym(i)
    		var name string
    		var v int
    		if kind != hashed64Def && kind != hashedDef { // we don't need the name, etc. for hashed symbols
    			name = osym.Name(r.Reader)
    			v = abiToVer(osym.ABI(), r.version)
    		}
    		gi := st.addSym(name, v, r, i, kind, osym)
    		r.syms[i] = gi
    		if kind == nonPkgDef && osym.IsLinkname() && r.DataSize(i) == 0 && strings.Contains(name, ".") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. src/syscall/syscall_windows.go

    	Family uint16
    	Path   [UNIX_PATH_MAX]int8
    }
    
    type SockaddrUnix struct {
    	Name string
    	raw  RawSockaddrUnix
    }
    
    func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, int32, error) {
    	name := sa.Name
    	n := len(name)
    	if n > len(sa.raw.Path) {
    		return nil, 0, EINVAL
    	}
    	if n == len(sa.raw.Path) && name[0] != '@' {
    		return nil, 0, EINVAL
    	}
    	sa.raw.Family = AF_UNIX
    	for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
Back to top