Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for EmptyOutput (0.2 sec)

  1. src/go/doc/example.go

    	Code        ast.Node
    	Play        *ast.File // a whole program version of the example
    	Comments    []*ast.CommentGroup
    	Output      string // expected output
    	Unordered   bool
    	EmptyOutput bool // expect empty output
    	Order       int  // original source code order
    }
    
    // Examples returns the examples found in testFiles, sorted by Name field.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/ipset/ipset_test.go

    	output := `Name: foobar
    Type: hash:ip,port
    Revision: 2
    Header: family inet hashsize 1024 maxelem 65536
    Size in memory: 16592
    References: 0
    Members:
    192.168.1.2,tcp:8080
    192.168.1.1,udp:53`
    
    	emptyOutput := `Name: KUBE-NODE-PORT
    Type: bitmap:port
    Revision: 1
    Header: range 0-65535
    Size in memory: 524432
    References: 1
    Members:
    
    `
    
    	testCases := []struct {
    		output   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                }
                dependencies {
                    compile 'test:test:1.3'
                    compile 'test:test2:2.3'
                }
    
                ${configurationAndTransform('EmptyOutput')}
    
                abstract class EmptyOutput implements TransformAction<TransformParameters.None> {
                    @InputArtifact
                    abstract Provider<FileSystemLocation> getInputArtifact()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/test.go

    	}
    	ex := doc.Examples(f)
    	sort.Slice(ex, func(i, j int) bool { return ex[i].Order < ex[j].Order })
    	for _, e := range ex {
    		*doImport = true // import test file whether executed or not
    		if e.Output == "" && !e.EmptyOutput {
    			// Don't run examples with no output.
    			continue
    		}
    		t.Examples = append(t.Examples, testFunc{pkg, "Example" + e.Name, e.Output, e.Unordered})
    		*seen = true
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"AllDecls", Const, 0},
    		{"AllMethods", Const, 0},
    		{"Example", Type, 0},
    		{"Example.Code", Field, 0},
    		{"Example.Comments", Field, 0},
    		{"Example.Doc", Field, 0},
    		{"Example.EmptyOutput", Field, 1},
    		{"Example.Name", Field, 0},
    		{"Example.Order", Field, 1},
    		{"Example.Output", Field, 0},
    		{"Example.Play", Field, 1},
    		{"Example.Suffix", Field, 14},
    		{"Example.Unordered", Field, 7},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg go/build, type Package struct, SwigCXXFiles []string
    pkg go/build, type Package struct, SwigFiles []string
    pkg go/doc, const AllDecls = 1
    pkg go/doc, const AllMethods = 2
    pkg go/doc, type Example struct, EmptyOutput bool
    pkg go/doc, type Example struct, Order int
    pkg go/doc, type Example struct, Play *ast.File
    pkg go/doc, type Note struct
    pkg go/doc, type Note struct, Body string
    pkg go/doc, type Note struct, End token.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top