Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,860 for printsp (0.15 sec)

  1. test/solitaire.go

    // at the end; if center is >= 0, that last peg must be in the center position.
    // If a solution is found, solve prints the board after each move in a backward
    // fashion (i.e., the last board position is printed first, all the way back to
    // the starting board position).
    func solve() bool {
    	var last, n int
    	for pos, field := range board {
    		// try each board position
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/print.cc

    void PrintPass::runOnOperation() {
      llvm::sys::SmartScopedLock<true> instrumentationLock(mutex_);
      OpPrintingFlags flags =
          OpPrintingFlags().elideLargeElementsAttrs().enableDebugInfo(false);
      getOperation()->print(*os_, flags);
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreatePrintPass(raw_ostream* os) {
      return std::make_unique<PrintPass>(os);
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/example_test.go

    		Uses:  make(map[*syntax.Name]types2.Object),
    	}
    	pkg := mustTypecheck(input, nil, &info)
    
    	// Print package-level variables in initialization order.
    	fmt.Printf("InitOrder: %v\n\n", info.InitOrder)
    
    	// For each named object, print the line and
    	// column of its definition and each of its uses.
    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types2.Object][]string)
    	for id, obj := range info.Uses {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. src/go/types/example_test.go

    		log.Fatal(err)
    	}
    
    	// Print the method sets of Celsius and *Celsius.
    	celsius := pkg.Scope().Lookup("Celsius").Type()
    	for _, t := range []types.Type{celsius, types.NewPointer(celsius)} {
    		fmt.Printf("Method set of %s:\n", t)
    		mset := types.NewMethodSet(t)
    		for i := 0; i < mset.Len(); i++ {
    			fmt.Println(mset.At(i))
    		}
    		fmt.Println()
    	}
    
    	// Print the method set of S.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/go/printer/testdata/statements.golden

    		use(x)
    	}	// no parens printed
    }
    
    // Formatting of for-statement headers for multi-line for-loops.
    func _() {
    	for {
    	}
    	for expr {
    	}
    	for expr {
    	}	// no parens printed
    	for {
    	}	// no semicolons printed
    	for x := expr; ; {
    		use(x)
    	}
    	for expr {
    	}	// no semicolons printed
    	for expr {
    	}	// no semicolons and parens printed
    	for ; ; expr = false {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 12 18:18:12 UTC 2014
    - 8K bytes
    - Viewed (0)
  6. src/go/printer/testdata/statements.input

    func _() {
    	if true {}
    	if; true {}  // no semicolon printed
    	if expr{}
    	if;expr{}  // no semicolon printed
    	if (expr){}  // no parens printed
    	if;((expr)){}  // no semicolon and parens printed
    	if x:=expr;true{
    	use(x)}
    	if x:=expr; expr {use(x)}
    }
    
    
    // Formatting of switch-statement headers.
    func _() {
    	switch {}
    	switch;{}  // no semicolon printed
    	switch expr {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 8.3K bytes
    - Viewed (0)
  7. test/fixedbugs/bug149.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var b1 []byte;
    	s1 := string(b1);
    	println(len(s1));  // prints 0
    
    	b2 := ([]byte)(nil);
    	s2 := string(b2);
    	println(len(s2));  // prints 0
    
    	s3 := string(([]byte)(nil));  // does not compile (literal substitution of b2)
    	println(len(s3));
    }
    
    /*
    bug149.go:14: cannot convert []uint8 constant to string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 506 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part2_gradle_tasks.adoc

    [source, kotlin]
    ----
    tasks.register("hello") {
        doLast {
            println("Hello!")
        }
    }
    
    tasks.register("greet") {
        doLast {
            println("How are you?")
        }
        dependsOn("hello")
    }
    ----
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    tasks.register("hello") {
        doLast {
            println('Hello!')
        }
    }
    
    tasks.register("greet") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 14:26:07 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. test/fixedbugs/issue20530.go

    	b := int8(func() int32 { return -1 }())
    	a = uint8(b)
    	if int32(a) != 255 {
    		// Failing case prints 'got 255 expected 255'
    		println("got", a, "expected 255")
    	}
    }
    
    //go:noinline
    func g() {
    	b := int8(func() uint32 { return 0xffffffff }())
    	a = uint8(b)
    	if int32(a) != 255 {
    		// Failing case prints 'got 255 expected 255'
    		println("got", a, "expected 255")
    	}
    }
    
    func main() {
    	f()
    	g()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 14:44:02 UTC 2017
    - 614 bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/dryrun/dryrun.go

    		}
    	} else {
    		fmt.Printf("[dryrun] Wrote certificates and kubeconfig files to the %q directory\n", manifestDir)
    	}
    
    	fmt.Println("[dryrun] The certificates or kubeconfig files would not be printed due to their sensitive nature")
    	fmt.Printf("[dryrun] Please examine the %q directory for details about what would be written\n", manifestDir)
    
    	// Print kubelet config manifests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top