Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for COMMENT (0.18 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/types2/expr.go

    			// See analogous comment for *Array.
    			if utyp.elem == nil {
    				check.error(e, InvalidTypeCycle, "invalid recursive type")
    				goto Error
    			}
    			check.indexedElts(e.ElemList, 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
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/out.go

    // gccExportHeaderProlog is written to the exported header, after the
    // import "C" comment preamble but before the generated declarations
    // of exported functions. This permits the generated declarations to
    // use the type names that appear in goTypes, above.
    //
    // The test of GO_CGO_GOSTRING_TYPEDEF avoids a duplicate definition
    // error if a Go file with a cgo comment #include's the export header
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/css/javadoc.css

    .module-label-in-package, .module-label-in-type, .package-label-in-type,
    .package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label {
        font-weight:bold;
    }
    .deprecation-comment, .help-footnote, .preview-comment {
        font-style:italic;
    }
    .deprecation-block {
        font-size:1em;
        font-family:var(--block-font-family);
        border-style:solid;
        border-width:thin;
        border-radius:10px;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 14:25:49 UTC 2024
    - 50.5K bytes
    - Viewed (0)
  6. src/testing/testing.go

    				doPanic(err)
    			}
    			t.checkRaces()
    			if !t.isParallel {
    				// Reacquire the count for sequential tests. See comment in Run.
    				t.context.waitParallel()
    			}
    		} else if t.isParallel {
    			// Only release the count for this test if it was run as a parallel
    			// test. See comment in Run method.
    			t.context.release()
    		}
    		t.report() // Report after all subtests have finished.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Preconditions.java

       */
      @CanIgnoreReturnValue
      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

       */
      @CanIgnoreReturnValue
      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  9. src/html/template/exec_test.go

    		if right == "" { // default case
    			trueRight = "}}"
    		}
    		text = trueLeft + text + trueRight
    		// Now add a comment
    		text += trueLeft + "/*comment*/" + trueRight
    		// Now add  an action containing a string.
    		text += trueLeft + `"` + trueLeft + `"` + trueRight
    		// At this point text looks like `{{.Str}}{{/*comment*/}}{{"{{"}}`.
    		tmpl, err := New("delims").Delims(left, right).Parse(text)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    		if right == "" { // default case
    			trueRight = "}}"
    		}
    		text = trueLeft + text + trueRight
    		// Now add a comment
    		text += trueLeft + "/*comment*/" + trueRight
    		// Now add  an action containing a string.
    		text += trueLeft + `"` + trueLeft + `"` + trueRight
    		// At this point text looks like `{{.Str}}{{/*comment*/}}{{"{{"}}`.
    		tmpl, err := New("delims").Delims(left, right).Parse(text)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top