Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for COMMENT (0.12 sec)

  1. tests/migrate_test.go

    	}
    
    	if tableType.Type() != tblType {
    		t.Fatalf("expected table type to be %s but got %s", tblType, tableType.Type())
    	}
    
    	comment, ok := tableType.Comment()
    	if !ok || comment != tblComment {
    		t.Fatalf("expected comment %s got %s", tblComment, comment)
    	}
    }
    
    func TestMigrateWithUniqueIndexAndUnique(t *testing.T) {
    	const table = "unique_struct"
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/html/template/escape_test.go

    			"<style>p\n" +
    				"{border: 1px #00f}</style>",
    		},
    		{
    			"JS attr block comment",
    			`<a onclick="f(&quot;&quot;); /* alert({{.H}}) */">`,
    			// Attribute comment tests should pass if the comments
    			// are successfully elided.
    			`<a onclick="f(&quot;&quot;); /* alert() */">`,
    		},
    		{
    			"JS attr line comment",
    			`<a onclick="// alert({{.G}})">`,
    			`<a onclick="// alert()">`,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    // For each line of the source files which should generate an error,
    // there should be a comment of the form // ERROR "regexp".
    // If outStr has an error for a line which has no such comment,
    // this function will report an error.
    // Likewise if outStr does not have an error for a line which has a comment,
    // or if the error message does not match the <regexp>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/debug/elf/file_test.go

    			{".got", SHT_PROGBITS, SHF_WRITE + SHF_ALLOC, 0x80496b8, 0x6b8, 0x1c, 0x0, 0x0, 0x4, 0x4, 0x1c},
    			{".bss", SHT_NOBITS, SHF_WRITE + SHF_ALLOC, 0x80496d4, 0x6d4, 0x20, 0x0, 0x0, 0x4, 0x0, 0x20},
    			{".comment", SHT_PROGBITS, 0x0, 0x0, 0x6d4, 0x12d, 0x0, 0x0, 0x1, 0x0, 0x12d},
    			{".debug_aranges", SHT_PROGBITS, 0x0, 0x0, 0x801, 0x20, 0x0, 0x0, 0x1, 0x0, 0x20},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/parser.go

    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    					// regular comment
    					// (if the comment spans multiple lines it's not
    					// a valid line directive and will be discarded
    					// by updateBase)
    					pos = MakePos(p.file, line, col+uint(len(msg)))
    				}
    				p.updateBase(pos, line, col+2+5, text[5:]) // +2 to skip over // or /*
    				return
    			}
    
    			// go: directive (but be conservative and test)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. src/go/types/api_test.go

    	rx := regexp.MustCompile(`^/\*(\w*)=([\w:]*)\*/$`)
    	for _, group := range f.Comments {
    		for _, comment := range group.List {
    			// Parse the assertion in the comment.
    			m := rx.FindStringSubmatch(comment.Text)
    			if m == nil {
    				t.Errorf("%s: bad comment: %s",
    					fset.Position(comment.Pos()), comment.Text)
    				continue
    			}
    			name, want := m[1], m[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)
  7. src/cmd/go/internal/test/test.go

    *testing.T to report success or failure, prints output to os.Stdout.
    If the last comment in the function starts with "Output:" then the output
    is compared exactly against the comment (see examples below). If the last
    comment begins with "Unordered output:" then the output is compared to the
    comment, however the order of the lines is ignored. An example with no such
    comment is compiled but not executed. An example with no text after
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

            @Override
            public void endCDATA() {
    
            }
    
            @Override
            public void comment(char[] ch, int start, int length) {
                String comment = new String(ch, start, length);
                if (comment.contains(MetaDataParser.GRADLE_6_METADATA_MARKER) || comment.contains(MetaDataParser.GRADLE_METADATA_MARKER)) {
                    hasGradleMetadataRedirect = true;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  9. src/go/types/expr.go

    			// See analogous comment for *Array.
    			if utyp.elem == nil {
    				check.error(e, InvalidTypeCycle, "invalid recursive type")
    				goto Error
    			}
    			check.indexedElts(e.Elts, utyp.elem, -1)
    
    		case *Map:
    			// Prevent crash if the map referred to is not yet set up.
    			// See analogous comment for *Array.
    			if utyp.key == nil || utyp.elem == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  10. src/runtime/mgcmark.go

    		throw("left over markroot jobs")
    	}
    
    	// Check that stacks have been scanned.
    	//
    	// We only check the first nStackRoots Gs that we should have scanned.
    	// Since we don't care about newer Gs (see comment in
    	// gcMarkRootPrepare), no locking is required.
    	i := 0
    	forEachGRace(func(gp *g) {
    		if i >= work.nStackRoots {
    			return
    		}
    
    		if !gp.gcscandone {
    			println("gp", gp, "goid", gp.goid,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top