Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for ts (0.03 sec)

  1. src/net/http/client_test.go

    func testRedirectCookiesJar(t *testing.T, mode testMode) {
    	var ts *httptest.Server
    	ts = newClientServerTest(t, mode, echoCookiesRedirectHandler).ts
    	c := ts.Client()
    	c.Jar = new(TestJar)
    	u, _ := url.Parse(ts.URL)
    	c.Jar.SetCookies(u, []*Cookie{expectedCookies[0]})
    	resp, err := c.Get(ts.URL)
    	if err != nil {
    		t.Fatalf("Get: %v", err)
    	}
    	resp.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/net/http/fs_test.go

    func testServeIndexHtmlFS(t *testing.T, mode testMode) {
    	const want = "index.html says hello\n"
    	ts := newClientServerTest(t, mode, FileServer(Dir("."))).ts
    	defer ts.Close()
    
    	for _, path := range []string{"/testdata/", "/testdata/index.html"} {
    		res, err := ts.Client().Get(ts.URL + path)
    		if err != nil {
    			t.Fatal(err)
    		}
    		b, err := io.ReadAll(res.Body)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		}
    		ts[0].Nsec = 0
    		if ts[1].Nsec >= 5e8 {
    			ts[1].Sec++
    		}
    		ts[1].Nsec = 0
    
    		// Not as efficient as it could be because Timespec and
    		// Timeval have different types in the different OSes
    		tv := []Timeval{
    			NsecToTimeval(TimespecToNsec(ts[0])),
    			NsecToTimeval(TimespecToNsec(ts[1])),
    		}
    		return Lutimes(path, tv)
    	}
    	return UtimesNano(path, ts)
    }
    
    // End UtimesNanoAt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    w-sndnyd,m-morf,p&aerocne,detsoh,?r-morf,w-morf,z&ihcppa,nilppa,??jn-morf,k&a&-morf,erfocsic,?cils-si,eeg&-a&-si,si,?sndd,?h,latsnaebcitsale:.&1-&ht&ron-ue,uos-&em,fa,pa,ue,??lartnec-&ac,li,ue,?ts&ae&-&as,pa,su,vog-su,?ht&ron-pa,uos-pa,??ew-&su,ue,vog-su,???2-ts&ae&-su,ht&ron-pa,uos-pa,??ew-&su,ue,??3-ts&aeht&ron-pa,uos-pa,?ew-ue,??,nil-kaerts,o-morf,r&adhtiwtliub,ow&-&sndnyd,ta-sndnyd,?ten-orehkcats,??sedal,u,?l&a&-morf,colottad,rebil-a-si,?f-morf,i&-morf,am&-sndnyd,detsohpw,??l&ecelffaw,uf-ytn...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 21 21:04:43 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  5. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    w-sndnyd,m-morf,p&aerocne,detsoh,?r-morf,w-morf,z&ihcppa,nilppa,??jn-morf,k&a&-morf,erfocsic,?cils-si,eeg&-a&-si,si,?sndd,?h,latsnaebcitsale:.&1-&ht&ron-ue,uos-&em,fa,pa,ue,??lartnec-&ac,li,ue,?ts&ae&-&as,pa,su,vog-su,?ht&ron-pa,uos-pa,??ew-&su,ue,vog-su,???2-ts&ae&-su,ht&ron-pa,uos-pa,??ew-&su,ue,??3-ts&aeht&ron-pa,uos-pa,?ew-ue,??,nil-kaerts,o-morf,r&adhtiwtliub,ow&-&sndnyd,ta-sndnyd,?ten-orehkcats,??sedal,u,?l&a&-morf,colottad,rebil-a-si,?f-morf,i&-morf,am&-sndnyd,detsohpw,??l&ecelffaw,uf-ytn...
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 21 21:04:43 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. src/syscall/syscall_windows.go

    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
    
    func NsecToTimespec(nsec int64) (ts Timespec) {
    	ts.Sec = nsec / 1e9
    	ts.Nsec = nsec % 1e9
    	return
    }
    
    // TODO(brainman): fix all needed for net
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    func UtimesNano(path string, ts []Timespec) error {
    	return UtimesNanoAt(AT_FDCWD, path, ts, 0)
    }
    
    func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error {
    	if ts == nil {
    		return utimensat(dirfd, path, nil, flags)
    	}
    	if len(ts) != 2 {
    		return EINVAL
    	}
    	return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) }
    
    func NsecToTimespec(nsec int64) (ts Timespec) {
    	ts.Sec = nsec / 1e9
    	ts.Nsec = nsec % 1e9
    	return
    }
    
    // TODO(brainman): fix all needed for net
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf.go

    	// "type:uintptr") and then to the typedef DIE for the type.
    	// FIXME: this seems clunky, maybe there is a better way to do this.
    
    	if ts, ok := d.rtmap[symIdx]; ok {
    		if def, ok := d.tdmap[ts]; ok {
    			return def
    		}
    		d.linkctxt.Errorf(ts, "internal error: no entry for sym %d in tdmap\n", ts)
    		return 0
    	}
    	d.linkctxt.Errorf(symIdx, "internal error: no entry for sym %d in rtmap\n", symIdx)
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  10. src/reflect/type.go

    			t := st.common()
    			if haveIdenticalUnderlyingType(&typ.Type, t, true) {
    				return toType(t)
    			}
    		}
    	}
    
    	addToCache := func(t Type) Type {
    		var ts []Type
    		if ti, ok := structLookupCache.m.Load(hash); ok {
    			ts = ti.([]Type)
    		}
    		structLookupCache.m.Store(hash, append(ts, t))
    		return t
    	}
    
    	// Look in known types.
    	for _, t := range typesByString(str) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top