Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 946 for COMMENT (0.15 sec)

  1. src/go/printer/printer_test.go

    	}
    
    	comment := f.Comments[0].List[0]
    	pos := comment.Pos()
    	if fset.PositionFor(pos, false /* absolute position */).Offset != 1 {
    		t.Error("expected offset 1") // error in test
    	}
    
    	testComment(t, f, len(src), &ast.Comment{Slash: pos, Text: "//-style comment"})
    	testComment(t, f, len(src), &ast.Comment{Slash: pos, Text: "/*-style comment */"})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier.go

    				proxier.logger.Error(err, "Failed to ensure chain exists", "table", jump.table, "chain", jump.dstChain)
    				return
    			}
    			args := jump.extraArgs
    			if jump.comment != "" {
    				args = append(args, "-m", "comment", "--comment", jump.comment)
    			}
    			args = append(args, "-j", string(jump.dstChain))
    			if _, err := proxier.iptables.EnsureRule(utiliptables.Prepend, jump.table, jump.srcChain, args...); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  3. src/encoding/csv/reader_test.go

    	Input:            "§a£§b,c£ \t§d,e\n€ comment\n",
    	Output:           [][]string{{"a", "b,c", "d,e"}},
    	TrimLeadingSpace: true,
    	Comma:            '£',
    	Comment:          '€',
    }, {
    	Name:    "NonASCIICommaAndCommentWithQuotes",
    	Input:   "§a€§\"  b,\"€§ c\nλ comment\n",
    	Output:  [][]string{{"a", "  b,", " c"}},
    	Comma:   '€',
    	Comment: 'λ',
    }, {
    	// λ and θ start with the same byte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/BUILD

    )
    
    cc_library(
        name = "tfrt_fallback_opdefs",
        srcs = [
            "tfrt_fallback.cc",
        ],
        hdrs = ["tfrt_fallback.h"],
        compatible_with = get_compatible_with_portable(),  # copybara: comment
        visibility = [
            # copybara:uncomment "//learning/brain/experimental/tfrt:__subpackages__",
            # copybara:uncomment "//learning/brain/tfrt/tpu/compiler:__subpackages__",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 27 20:43:07 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/go/parser/resolver_test.go

    //
    // In the test source, any comment prefixed with '=' or '@' (or both) marks the
    // previous token position as the declaration ('=') or a use ('@') of an
    // identifier. The text following '=' and '@' in the comment string is the
    // label to use for the location.  Declaration labels must be unique within the
    // file, and use labels must refer to an existing declaration label. It's OK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 17:46:07 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  6. src/go/doc/comment/testdata_test.go

    	}
    	var p Parser
    	p.Words = map[string]string{
    		"italicword": "",
    		"linkedword": "https://example.com/linkedword",
    	}
    	p.LookupPackage = func(name string) (importPath string, ok bool) {
    		if name == "comment" {
    			return "go/doc/comment", true
    		}
    		return DefaultLookupPackage(name)
    	}
    	p.LookupSym = func(recv, name string) (ok bool) {
    		if recv == "Parser" && name == "Parse" ||
    			recv == "" && name == "Doc" ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/go/parser/error_test.go

    	var prev token.Pos // position of last non-comment, non-semicolon token
    	var here token.Pos // position immediately after the token at position prev
    
    	for {
    		pos, tok, lit := s.Scan()
    		switch tok {
    		case token.EOF:
    			return errors
    		case token.COMMENT:
    			s := errRx.FindStringSubmatch(lit)
    			if len(s) == 3 {
    				if s[1] == "HERE" {
    					pos = here // start of comment
    				} else if s[1] == "AFTER" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  8. src/go/ast/walk.go

    		if n.Name != nil {
    			Walk(v, n.Name)
    		}
    		Walk(v, n.Path)
    		if n.Comment != nil {
    			Walk(v, n.Comment)
    		}
    
    	case *ValueSpec:
    		if n.Doc != nil {
    			Walk(v, n.Doc)
    		}
    		walkList(v, n.Names)
    		if n.Type != nil {
    			Walk(v, n.Type)
    		}
    		walkList(v, n.Values)
    		if n.Comment != nil {
    			Walk(v, n.Comment)
    		}
    
    	case *TypeSpec:
    		if n.Doc != nil {
    			Walk(v, n.Doc)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

        }
    
        def "ignores comment after directive"() {
            when:
            sourceFile << """
    #include "test1"  // A comment here
    #include "test2" /* A comment here */
    #include "test3" /*
       A comment here
    */
    #include <system1>  // A comment here
    #include <system2> /* A comment here */
    #include <system3> /*
       A comment here
    */
    #include MACRO1  // A comment here
    #include MACRO2 /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/expressionInfoProvider/AbstractReturnTargetSymbolTest.kt

                        expression.returnedExpression?.accept(this)
                    }
    
                    override fun visitComment(comment: PsiComment) {
                        // Skip such comments so that test become idempotent
                        if (comment.text.matches(commentRegex)) return
                        super.visitComment(comment)
                    }
                })
            }
            if (actual != original) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top