Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,433 for wabt (0.04 sec)

  1. src/cmd/go/internal/modload/search.go

    				if strings.HasPrefix(elem, ".") || strings.HasPrefix(elem, "_") || elem == "testdata" {
    					want = false
    				}
    			}
    
    			name := path.Join(importPathRoot, filepath.ToSlash(pkgDir[len(root):]))
    			if !treeCanMatch(name) {
    				want = false
    			}
    
    			if !fi.IsDir() {
    				if fi.Mode()&fs.ModeSymlink != 0 && want && strings.Contains(m.Pattern(), "...") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. internal/grid/muxserver.go

    	// Handler goroutine.
    	var handlerErr atomic.Pointer[RemoteErr]
    	go func() {
    		wg.Wait()
    		defer xioutil.SafeClose(send)
    		err := m.handleRequests(ctx, msg, send, handler, handlerIn)
    		if err != nil {
    			handlerErr.Store(err)
    		}
    	}()
    
    	// Response sender goroutine...
    	go func(outBlock <-chan struct{}) {
    		wg.Wait()
    		defer m.parent.deleteMux(true, m.ID)
    		m.sendResponses(ctx, send, c, &handlerErr, outBlock)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. src/net/http/transport_dial_test.go

    func (rt *transportDialTesterRoundTrip) wantDone(c *transportDialTesterConn) {
    	rt.t.Helper()
    	<-rt.done
    	if rt.err != nil {
    		rt.t.Fatalf("RoundTrip %v: want success, got err %v", rt.roundTripID, rt.err)
    	}
    	if rt.conn != c {
    		rt.t.Fatalf("RoundTrip %v: want on conn %v, got conn %v", rt.roundTripID, c.connID, rt.conn.connID)
    	}
    }
    
    // finish completes a RoundTrip by sending the request body, consuming the response body,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_network_linux.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package kubelet
    
    import (
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/klog/v2"
    	utiliptables "k8s.io/kubernetes/pkg/util/iptables"
    	utilexec "k8s.io/utils/exec"
    )
    
    const (
    	// KubeIPTablesHintChain is the chain whose existence in either iptables-legacy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 20:51:47 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/net/http/httptest/server_test.go

    	res, err := http.Get(ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	got, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if string(got) != "hello" {
    		t.Errorf("got %q, want hello", string(got))
    	}
    }
    
    // Issue 12781
    func testGetAfterClose(t *testing.T, newServer newServerFunc) {
    	ts := newServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		w.Write([]byte("hello"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 16:57:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    		go func() {
    			defer waitGroup.Done()
    			wait.Until(c.runWorker, time.Second, ctx.Done())
    		}()
    	}
    
    	klog.Infof("Started %v workers for %v", c.options.Workers, c.options.Name)
    
    	// Wait for context cancel.
    	<-ctx.Done()
    
    	// Forcefully shutdown workqueue. Drop any enqueued items.
    	c.queue.ShutDown()
    
    	// Workqueue shutdown signals for workers to stop. Wait for all workers to
    	// clean up
    	waitGroup.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        // We need to wait for the runner to exit.  It used to be that the runner would get stuck in the
        // busy loop when interrupt threw.
        runner.join(TimeUnit.SECONDS.toMillis(10));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiConsole.java

            // If textArea is on a status line but nothing was written, this means a new line was just written. While
            // we wait for additional text, we assume this row doesn't count as overlapping and use it as a status
            // line. In the opposite case, we want to scroll the progress area one more line. This avoid having an one
            // line gap between the text area and the status area.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. src/sync/rwmutex.go

    //
    // [the Go memory model]: https://go.dev/ref/mem
    type RWMutex struct {
    	w           Mutex        // held if there are pending writers
    	writerSem   uint32       // semaphore for writers to wait for completing readers
    	readerSem   uint32       // semaphore for readers to wait for completing writers
    	readerCount atomic.Int32 // number of pending readers
    	readerWait  atomic.Int32 // number of departing readers
    }
    
    const rwmutexMaxReaders = 1 << 30
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top