Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for gotch (0.52 sec)

  1. src/cmd/compile/internal/noder/lex_test.go

    		}...)
    
    	}
    
    	var p noder
    	var nopos syntax.Pos
    	for _, tt := range tests {
    
    		p.err = make(chan syntax.Error)
    		gotch := make(chan [][]string, 1)
    		go func() {
    			p.pragcgobuf = nil
    			p.pragcgo(nopos, tt.in)
    			if p.pragcgobuf != nil {
    				gotch <- p.pragcgobuf
    			}
    		}()
    
    		select {
    		case e := <-p.err:
    			want := tt.want[0]
    			if e.Error() != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:39:06 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  2. src/regexp/testdata/testregex.c

    #endif
    #endif
    }
    
    static void
    gotcha(int sig)
    {
    	int	ret;
    
    	signal(sig, gotcha);
    	alarm(0);
    	state.signals++;
    	switch (sig)
    	{
    	case SIGALRM:
    		ret = REG_EHUNG;
    		break;
    	case SIGBUS:
    		ret = REG_EBUS;
    		break;
    	default:
    		ret = REG_EFAULT;
    		break;
    	}
    	sigunblock(sig);
    	longjmp(state.gotcha, ret);
    }
    
    static char*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  3. src/net/http/server_test.go

    		{"CONNECT", "/bar", `&http.redirectHandler{url:"/bar/", code:301}`},
    	} {
    		var r Request
    		r.Method = test.method
    		r.Host = "example.com"
    		r.URL = &url.URL{Path: test.path}
    		gotH, _, _, _ := mux.findHandler(&r)
    		got := fmt.Sprintf("%#v", gotH)
    		if got != test.wantHandler {
    			t.Errorf("%s %q: got %q, want %q", test.method, test.path, got, test.wantHandler)
    		}
    	}
    }
    
    func TestEmptyServeMux(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/net/http/clientserver_test.go

    	}
    }
    
    func TestConnectRequest(t *testing.T) { run(t, testConnectRequest) }
    func testConnectRequest(t *testing.T, mode testMode) {
    	gotc := make(chan *Request, 1)
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		gotc <- r
    	}))
    
    	u, err := url.Parse(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		req  *Request
    		want string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        return localRouteSelector.hasNext()
      }
    
      /**
       * Return the route from [connection] if it should be retried, even if the connection itself is
       * unhealthy. The biggest gotcha here is that we shouldn't reuse routes from coalesced
       * connections.
       */
      private fun retryRoute(connection: RealConnection): Route? {
        return connection.withLock {
          when {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/asm6.go

    	{AFCMOVU, yfcmv, Px, opBytes{0xda, 03}},
    	{AFCMOVUN, yfcmv, Px, opBytes{0xda, 03}},
    	{AFCOMD, yfadd, Px, opBytes{0xdc, 02, 0xd8, 02, 0xdc, 02}},  // botch
    	{AFCOMDP, yfadd, Px, opBytes{0xdc, 03, 0xd8, 03, 0xdc, 03}}, // botch
    	{AFCOMDPP, ycompp, Px, opBytes{0xde, 03}},
    	{AFCOMF, yfmvx, Px, opBytes{0xd8, 02}},
    	{AFCOMFP, yfmvx, Px, opBytes{0xd8, 03}},
    	{AFCOMI, yfcmv, Px, opBytes{0xdb, 06}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/mips/obj0.go

    		AMULF,
    		AMULD,
    		AMULW,
    		ADIVF,
    		ADIVD,
    		ADIVW:
    		if p.Reg == 0 {
    			if p.To.Type == obj.TYPE_REG {
    				p.Reg = p.To.Reg
    			}
    			//if(p->reg == NREG)
    			//	print("botch %P\n", p);
    		}
    	}
    
    	/*
    	 * flags based on 'to' field
    	 */
    	cls := int(p.To.Class)
    	if cls == 0 {
    		cls = c.aclass(&p.To) + 1
    		p.To.Class = int8(cls)
    	}
    	cls--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/zip_sum_test/testdata/zip_sums.csv

    github.com/markbates/going,v1.0.3,h1:mY45T5TvW+Xz5A6jY7lf4+NLg9D8+iuStIHyR7M8qsE=,61efe687a56d3141284be7bdb83bb5ae86e1df694ababa5937c4d3e30f3b60f1
    github.com/markbates/goth,v1.49.0,h1:qQ4Ti4WaqAxNAggOC+4s5M85sMVfMJwQn/Xkp73wfgI=,39a0244d07f47d7b91215590900a7754c4700e875c0866b1e65568133471478a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 18 17:29:01 UTC 2020
    - 334.9K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2C76..2C77    ; valid                                  # 5.0  LATIN SMALL LETTER HALF H..LATIN SMALL LETTER TAILLESS PHI
    2C78..2C7B    ; valid                                  # 5.1  LATIN SMALL LETTER E WITH NOTCH..LATIN LETTER SMALL CAPITAL TURNED E
    2C7C          ; mapped                 ; 006A          # 5.1  LATIN SUBSCRIPT SMALL LETTER J
    2C7D          ; mapped                 ; 0076          # 5.1  MODIFIER LETTER CAPITAL V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
Back to top