Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for src1 (0.06 sec)

  1. src/go/types/api_test.go

    	// test case for a one-line error
    	const src1 = `
    package p
    var _ T
    `
    	_, err := typecheck(src1, &conf, nil)
    	if err == nil || !strings.HasSuffix(err.Error(), " [go.dev/e/UndeclaredName]") {
    		t.Errorf("src1: unexpected error: got %v", err)
    	}
    
    	// test case for a multi-line error
    	const src2 = `
    package p
    func f() int { return 0 }
    var _ = f(1, 2)
    `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    	// test case for a one-line error
    	const src1 = `
    package p
    var _ T
    `
    	_, err := typecheck(src1, &conf, nil)
    	if err == nil || !strings.HasSuffix(err.Error(), " [go.dev/e/UndeclaredName]") {
    		t.Errorf("src1: unexpected error: got %v", err)
    	}
    
    	// test case for a multi-line error
    	const src2 = `
    package p
    func f() int { return 0 }
    var _ = f(1, 2)
    `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    		v.AddArg3(dst, src, midmem)
    		return true
    	}
    	// match: (Move {t1} [s] dst tmp1 midmem:(VarDef (Move {t2} [s] tmp2 src _)))
    	// cond: t1.Compare(t2) == types.CMPeq && isSamePtr(tmp1, tmp2) && isStackPtr(src) && !isVolatile(src) && disjoint(src, s, tmp2, s) && (disjoint(src, s, dst, s) || isInlinableMemmove(dst, src, s, config))
    	// result: (Move {t1} [s] dst src midmem)
    	for {
    		s := auxIntToInt64(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. testing/performance/src/templates/native-monolithic/src/src.c

    #include "src${sourceIdx}_h.h"
    
    <% includedHeaderCount.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    <% includedCommonHeaderCount.times { %>
    #include "common/include/header${it}.h"
    <% } %>
    
    #include <stdio.h>
    
    <% functionCount.times { %>
    int C_function_${(it+1)+offset} () {
      printf("Hello world!");
      return 0;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 322 bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-monolithic/src/src.cpp

    #include "src${sourceIdx}_h.h"
    
    <% includedHeaderCount.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    <% includedCommonHeaderCount.times { %>
    #include "common/include/header${it}.h"
    <% } %>
    
    #include <stdio.h>
    
    <% functionCount.times { %>
    int CPP_function_${(it+1)+offset} () {
      printf("Hello world!");
      return 0;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 325 bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-monolithic/src/src.h

    #ifndef PROJECT_HEADER_${sourceIdx}_H
    #define PROJECT_HEADER_${sourceIdx}_H
    
    <% sourceIdx.times { %>
    #include "src${it}_h.h"
    <% } %>
    
    
    <% functionCount.times { %>
    int C_function_${(it+1)+offset} (); 
    int CPP_function_${(it+1)+offset} (); 
    <% } %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 287 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/builtins_test.go

    	{"copy", `var src, dst []byte; copy(dst, src)`, `func([]byte, []byte) int`},
    	{"copy", `type T [][]int; var src, dst T; _ = copy(dst, src)`, `func(p.T, p.T) int`},
    	{"copy", `var src string; var dst []byte; copy(dst, src)`, `func([]byte, string) int`},
    	{"copy", `type T string; type U []byte; var src T; var dst U; copy(dst, src)`, `func(p.U, p.T) int`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. tensorflow/cc/BUILD

        licenses = ["notice"],
    )
    
    filegroup(
        name = "srcs_no_runtime",
        srcs = [
            "framework/gradients.h",
            "framework/ops.h",
            "framework/scope.h",
            "framework/scope_internal.h",
            "//tensorflow/cc/saved_model:loader.h",
        ],
    )
    
    filegroup(
        name = "srcs",
        srcs = [
            "framework/gradients.h",
            "framework/ops.h",
            "framework/scope.h",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/files/fileCollections/tests/fileCollectionsConventions.out

    Source dirs: [src, src2]...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 13:03:07 UTC 2024
    - 25 bytes
    - Viewed (0)
  10. tensorflow/c/BUILD

        licenses = ["notice"],
    )
    
    filegroup(
        name = "safe_ptr_hdr",
        srcs = ["safe_ptr.h"],
        visibility = [
            "//tensorflow:internal",
        ],
    )
    
    cc_library(
        name = "safe_ptr",
        srcs = [
            "safe_ptr.cc",
            "//tensorflow/c/eager:headers",
        ],
        hdrs = ["safe_ptr.h"],
        visibility = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top