Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 396 for COMMENT (0.11 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    	for _, group := range f.Comments {
    		// A //go:build or a //go:debug comment is ignored after the package declaration
    		// (but adjoining it is OK, in contrast to +build comments).
    		if group.Pos() >= f.Package {
    			check.inHeader = false
    		}
    
    		// Check each line of a //-comment.
    		for _, c := range group.List {
    			check.comment(c.Slash, c.Text)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/tasks/WriteProperties.java

        }
    
        /**
         * Returns the optional comment to add at the beginning of the properties file.
         */
        @Nullable
        @Optional
        @Input
        public String getComment() {
            return comment;
        }
    
        /**
         * Sets the optional comment to add at the beginning of the properties file.
         */
        public void setComment(@Nullable String comment) {
            this.comment = comment;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer_test.cc

            }
            BlockClose("  // comment ending TestFunction");
          }
        }
      };
    
      SourceCode code;
      TestRenderer(code).Render();
    
      string expected = R"(// File level comment.
    #include "header.h"
    
    void TestFunction() {
       int i = 1;
    
       while (i == 1) {
          // Do nothing, really....
    #if 0
          call();
    #endif
       }
    }  // comment ending TestFunction
    )";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ProjectTest.groovy

            ])
    
            when:
            project.load(customProjectReader)
            project.configure(eclipseProject)
    
            then:
            project.name == eclipseProject.name
            project.comment == eclipseProject.comment
            project.referencedProjects == eclipseProject.referencedProjects + CUSTOM_REFERENCED_PROJECTS
            project.buildCommands == CUSTOM_BUILD_COMMANDS + eclipseProject.buildCommands
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/field/_asm/fe_amd64_asm.go

    }
    
    // mul64 sets r to i * aX * bX.
    func mul64(r uint128, i int, aX, bX namedComponent) {
    	switch i {
    	case 1:
    		Comment(fmt.Sprintf("%s = %s×%s", r, aX, bX))
    		Load(aX, RAX)
    	case 2:
    		Comment(fmt.Sprintf("%s = 2×%s×%s", r, aX, bX))
    		Load(aX, RAX)
    		SHLQ(Imm(1), RAX)
    	default:
    		panic("unsupported i value")
    	}
    	MULQ(mustAddr(bX)) // RDX, RAX = RAX * bX
    	MOVQ(RAX, r.lo)
    	MOVQ(RDX, r.hi)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top