Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 939 for COMMENT (0.13 sec)

  1. src/go/ast/commentmap_test.go

    	// also associated with s1
    	
    	// associated with s2
    	
    	// also associated with s2
    	s2() // line comment for s2
    }
    // associated with f1
    // also associated with f1
    
    // associated with f2
    
    // f2
    func f2() {
    }
    
    func f3() {
    	i := 1 /* 1 */ + 2 // addition
    	_ = i
    }
    
    // the very last comment
    `
    
    // res maps a key of the form "line number: node type"
    // to the associated comments' text.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  2. hack/golangci.yaml.in

            - revive
            - stylecheck
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 13:12:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. 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)
  4. src/go/scanner/scanner.go

    	if s.ch == '/' {
    		//-style comment
    		// (the final '\n' is not considered part of the comment)
    		s.next()
    		for s.ch != '\n' && s.ch >= 0 {
    			if s.ch == '\r' {
    				numCR++
    			}
    			s.next()
    		}
    		// if we are at '\n', the position following the comment is afterwards
    		next = s.offset
    		if s.ch == '\n' {
    			next++
    		}
    		goto exit
    	}
    
    	/*-style comment */
    	s.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. .github/actions/people/app/main.py

            discussion_commentors: dict[str, datetime] = {}
            for comment in discussion.comments.nodes:
                if comment.author:
                    authors[comment.author.login] = comment.author
                    if comment.author.login != discussion_author_name:
                        author_time = discussion_commentors.get(
                            comment.author.login, comment.createdAt
                        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 17:38:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top