Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 879 for Res (0.37 sec)

  1. samples/bookinfo/src/ratings/ratings.js

          else {
            getLocalReviewsSuccessful(res, productId)
          }
      }
    })
    
    dispatcher.onGet('/health', function (req, res) {
        if (healthy) {
            res.writeHead(200, {'Content-type': 'application/json'})
            res.end(JSON.stringify({status: 'Ratings is healthy'}))
        } else {
            res.writeHead(500, {'Content-type': 'application/json'})
            res.end(JSON.stringify({status: 'Ratings is not healthy'}))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 02 00:29:57 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/web/http.go

    		fmt.Fprintf(os.Stderr, "# get %s: %v (%.3fs)\n", fetched.Redacted(), res.Status, time.Since(start).Seconds())
    	}
    
    	r := &Response{
    		URL:        fetched.Redacted(),
    		Status:     res.Status,
    		StatusCode: res.StatusCode,
    		Header:     map[string][]string(res.Header),
    		Body:       res.Body,
    	}
    
    	if res.StatusCode != http.StatusOK {
    		contentType := res.Header.Get("Content-Type")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 17:34:27 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/build/relnote/links.go

    				if i > 0 {
    					res = append(res, &md.Plain{Text: text[:i]})
    				}
    				res = append(res, &md.Plain{Text: text[i : i+1]})
    				text = text[i+1:]
    			}
    		} else {
    			res = append(res, in)
    		}
    	}
    	return res
    }
    
    // symbolLinkText returns the text of a possible symbol link.
    // It is given a slice of Inline elements and an index into the slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/cmd/vet/testdata/httpresponse/httpresponse.go

    package httpresponse
    
    import (
    	"log"
    	"net/http"
    )
    
    func goodHTTPGet() {
    	res, err := http.Get("http://foo.com")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer res.Body.Close()
    }
    
    func badHTTPGet() {
    	res, err := http.Get("http://foo.com")
    	defer res.Body.Close() // ERROR "using res before checking for errors"
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 21:34:18 UTC 2021
    - 509 bytes
    - Viewed (0)
  5. test/ken/array.go

    	a = a[0:100]
    	setpd(a)
    
    	a = a[0:10]
    	res(sumpd(a), 0, 10)
    
    	a = a[5:25]
    	res(sumpd(a), 5, 25)
    
    	a = a[30:95]
    	res(sumpd(a), 35, 100)
    }
    
    // call ptr fixed with ptr fixed
    func testpfpf() {
    	var a [20]int
    
    	setpf(&a)
    	res(sumpf(&a), 0, 20)
    }
    
    // call ptr dynamic with ptr fixed from new
    func testpdpf1() {
    	a := new([40]int)
    	setpd(a[0:])
    	res(sumpd(a[0:]), 0, 40)
    
    	b := (*a)[5:30]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.3K bytes
    - Viewed (0)
  6. src/testing/match_test.go

    		{"A/B", res("A", "B")},
    		{"A/B/", res("A", "B", "")},
    		{"/A/B/", res("", "A", "B", "")},
    		{"[A]/(B)", res("[A]", "(B)")},
    		{"[/]/[/]", res("[/]", "[/]")},
    		{"[/]/[:/]", res("[/]", "[:/]")},
    		{"/]", res("", "]")},
    		{"]/", res("]", "")},
    		{"]/[/]", res("]", "[/]")},
    		{`([)/][(])`, res(`([)/][(])`)},
    		{"[(]/[)]", res("[(]", "[)]")},
    
    		{"A/B|C/D", alt(res("A", "B"), res("C", "D"))},
    
    		// Faulty patterns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.td

    def LiftBatchMatMul : Pat<
      (TF_BatchMatMulV2Op:$res $x, $y, $adj_x, $adj_y, $grad_x, $grad_y),
      (LiftAsTFPartitionedCall<"composite_batch_matmul_fn">
        (ArgumentList $x, $y),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"adj_x"> $adj_x),
          (NamedAttr<"adj_y"> $adj_y))),
      [(IsNotInLiftedFunc $res)], [], (addBenefit 1)>;
    
    def LiftEinsum : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  9. pilot/test/xdstest/extract.go

    	res := map[string]*route.RouteConfiguration{}
    	for _, l := range rc {
    		res[l.Name] = l
    	}
    	return res
    }
    
    func ExtractListenerFilters(l *listener.Listener) map[string]*listener.ListenerFilter {
    	res := map[string]*listener.ListenerFilter{}
    	for _, lf := range l.ListenerFilters {
    		res[lf.Name] = lf
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue16249.go

    		sink = err
    	}
    }
    
    //go:noinline
    func A(n, m int64) (res int64, err error) {
    	defer f(&err) // output parameter's address escapes to a defer.
    	if n < 0 {
    		err = errors.New("No negative")
    		return
    	}
    	if n <= 1 {
    		res = n
    		return
    	}
    	res = B(m) // This call to B drizzles a little junk on the stack.
    	res, err = A(n-1, m)
    	res++
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 02 00:40:40 UTC 2016
    - 1.3K bytes
    - Viewed (0)
Back to top