Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 400 for ts (0.03 sec)

  1. pkg/wasm/httpfetcher_test.go

    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			gotNumRequest := 0
    			wantWasmModule := "wasm\n"
    			ts = httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    				c.handler(w, r, gotNumRequest)
    				gotNumRequest++
    			}))
    			defer ts.Close()
    			fetcher := NewHTTPFetcher(DefaultHTTPRequestTimeout, DefaultHTTPRequestMaxRetries)
    			fetcher.initialBackoff = time.Microsecond
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/testdata/main5.c

    		die("raise");
    	}
    
    	if (verbose) {
    		fprintf(stderr, "waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (!sigioSeen) {
    		ts.tv_sec = 0;
    		ts.tv_nsec = 1000000;
    		nanosleep(&ts, NULL);
    		i++;
    		if (i > 5000) {
    			fprintf(stderr, "looping too long waiting for signal\n");
    			exit(EXIT_FAILURE);
    		}
    	}
    
    	sigioSeen = 0;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/testdata/main2.c

          fprintf(stderr, "BUG: read: %s\n", strerror(errno));
          return 2;
        }
    
        // An EBADF error means that the shared library has not opened the
        // descriptor yet.
        ts.tv_sec = 0;
        ts.tv_nsec = 10000000;
        nanosleep(&ts, NULL);
      }
    
      if (n < 0) {
        fprintf(stderr, "BUG: failed to read any data from pipe\n");
        return 2;
      }
    
      if (n == 0) {
        fprintf(stderr, "BUG: unexpected EOF\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go

    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    		ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
    	}
    	return pselect6(nfd, r, w, e, ts, nil)
    }
    
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
    //sys	setfsgid(gid int) (prev int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/testdata/main3.c

    		die("raise");
    	}
    
    	if (verbose) {
    		printf("waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (!sigioSeen) {
    		ts.tv_sec = 0;
    		ts.tv_nsec = 1000000;
    		nanosleep(&ts, NULL);
    		i++;
    		if (i > 5000) {
    			fprintf(stderr, "looping too long waiting for signal\n");
    			exit(EXIT_FAILURE);
    		}
    	}
    
    	sigioSeen = 0;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    }
    
    // collapsedTags trims and sorts a slice of tags.
    func (b *builder) collapsedTags(ts []*Tag, count int, flatTags bool) []*Tag {
    	ts = SortTags(ts, flatTags)
    	if len(ts) <= count {
    		return ts
    	}
    
    	tagGroups := make([][]*Tag, count)
    	for i, t := range (ts)[:count] {
    		tagGroups[i] = []*Tag{t}
    	}
    	for _, t := range (ts)[count:] {
    		g, d := 0, tagDistance(t, tagGroups[0][0])
    		for i := 1; i < count; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/generate-clients.md

    #### Install `openapi-ts`
    
    You can install `openapi-ts` in your frontend code with:
    
    <div class="termy">
    
    ```console
    $ npm install @hey-api/openapi-ts --save-dev
    
    ---> 100%
    ```
    
    </div>
    
    #### Generate Client Code
    
    To generate the client code you can use the command line application `openapi-ts` that would now be installed.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    	if (i != 0) {
    		fprintf(stderr, "pthread_kill: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (SIGIOCount() == 0) {
    		ts.tv_sec = 0;
    		ts.tv_nsec = 1000000;
    		nanosleep(&ts, NULL);
    		i++;
    		if (i > 5000) {
    			fprintf(stderr, "looping too long waiting for signal\n");
    			exit(EXIT_FAILURE);
    		}
    	}
    
    	// We should still be on the same signal stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/net/util_test.go

    	return &lb
    }
    
    func TestIsConnectionReset(t *testing.T) {
    	ts := httptest.NewUnstartedServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		fmt.Fprintf(w, "Hello, %s", r.Proto)
    	}))
    	ts.EnableHTTP2 = true
    	ts.StartTLS()
    	defer ts.Close()
    
    	u, err := url.Parse(ts.URL)
    	if err != nil {
    		t.Fatalf("failed to parse URL from %q: %v", ts.URL, err)
    	}
    	lb := newLB(t, u.Host)
    	defer lb.ln.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    		die("kill");
    	}
    
    	if (verbose) {
    		printf("waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (!sigioSeen) {
    		ts.tv_sec = 0;
    		ts.tv_nsec = 1000000;
    		nanosleep(&ts, NULL);
    		i++;
    		if (i > 5000) {
    			fprintf(stderr, "looping too long waiting for SIGIO\n");
    			exit(EXIT_FAILURE);
    		}
    	}
    
    	if (verbose) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top