Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for original (0.26 sec)

  1. src/net/http/transport_test.go

    	}
    	oe, ok := uerr.Err.(*net.OpError)
    	if !ok {
    		t.Fatalf("url.Error.Err =  %T; want *net.OpError", uerr.Err)
    	}
    	want := &net.OpError{
    		Op:  "proxyconnect",
    		Net: "tcp",
    		Err: errDial, // original error, unwrapped.
    	}
    	if !reflect.DeepEqual(oe, want) {
    		t.Errorf("Got error %#v; want %#v", oe, want)
    	}
    }
    
    // Issue 36431: calls to RoundTrip should not mutate t.ProxyConnectHeader.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	// But there might be an x.go in the original dir too, and if it
    	// uses cgo as well, cgo will be processing both and will
    	// translate both into x.cgo1.go in the objdir, overwriting one.
    	// Rename x.go to _x_swig.go to avoid this problem.
    	// We ignore files in the original dir that begin with underscore
    	// so _x_swig.go cannot conflict with an original file we were
    	// going to compile.
    	goFile = objdir + goFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    // the frame structure (to preserve the outputs).
    //
    // Originally reflect.call did not distinguish inputs from outputs: both memmoves
    // were for the full stack frame. However, in the case where the called function was
    // one of these wrappers, the rewritten receiver is almost certainly a different type
    // than the original receiver. This is not a problem on the stack, where we use the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    <pre>
    type Point3D struct { x, y, z float64 }
    type Line struct { p, q Point3D }
    </pre>
    
    <p>
    one may write
    </p>
    
    <pre>
    origin := Point3D{}                            // zero value for Point3D
    line := Line{origin, Point3D{y: -4, z: 12.3}}  // zero value for line.q.x
    </pre>
    
    <p>
    For array and slice literals the following rules apply:
    </p>
    <ul>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    			if !strings.HasPrefix(sname, "__imp_") {
    				return fmt.Errorf("internal error in windynrelocsym: redirect GOT token applied to non-import symbol %s", sname)
    			}
    
    			// Locate underlying symbol (which originally had type
    			// SDYNIMPORT but has since been retyped to SWINDOWS).
    			ds, err := loadpe.LookupBaseFromImport(targ, ctxt.loader, ctxt.Arch)
    			if err != nil {
    				return err
    			}
    			dstyp := ctxt.loader.SymType(ds)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top