Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 309 for printuint (0.13 sec)

  1. test/fixedbugs/issue4326.go

    // compiledir
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Printing local variables in inliner shadows global names.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 253 bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

      // converted to BiggestInt, we print it as a BiggestInt.
      //
      // Most likely T is an enum type (either named or unnamed), in which
      // case printing it as an integer is the desired behavior.  In case
      // T is not an enum, printing it as an integer is the best we can do
      // given that it has no user-defined printer.
      static void PrintValue(const T& value, ::std::ostream* os) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue6902.go

    // run
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 6902: confusing printing of large floating point constants
    
    package main
    
    import (
    	"os"
    )
    
    var x = -1e-10000
    
    func main() {
    	if x != 0 {
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 24 17:10:29 UTC 2014
    - 333 bytes
    - Viewed (0)
  4. test/ken/cplx0.go

    // run
    
    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test trivial, bootstrap-level complex numbers, including printing.
    
    package main
    
    const (
    	R = 5
    	I = 6i
    
    	C1 = R + I // ADD(5,6)
    )
    
    func doprint(c complex128) { println(c) }
    
    func main() {
    
    	// constants
    	println(C1)
    	doprint(C1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 455 bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

                    Set<File> classpath = project.configurations["myconf"].files
                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
                        def outputFile = getOutputFile().get().asFile
                        outputFile.text = "bad"
                    }
                }
    
                abstract class GoodTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/sds/writer_test.go

    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			w := &bytes.Buffer{}
    			mockWriter := NewSDSWriter(w, tt.format)
    			err := mockWriter.PrintSecretItems(tt.items)
    			if err != nil {
    				t.Errorf("error printing secret items: %v", err)
    			}
    			checkOutput(t, w.String(), tt.expected, tt.unexpected)
    		})
    	}
    }
    
    func TestSDSWriterSecretDiff(t *testing.T) {
    	tests := []struct {
    		name       string
    		format     Format
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ParallelStaleOutputIntegrationTest.groovy

                    Set<File> classpath = project.configurations["myconf"].files
                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
                        def outputFile = getOutputFile().get().asFile
                        outputFile.text = "bad"
                    }
                }
    
                abstract class GoodTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/doc.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package printers is helper for formatting and printing runtime objects into
    // primitives io.writer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 736 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tasks/taskConstructorArgs-onTaskContainer/groovy/build.gradle

        @Inject
        CustomTask(String message, int number) {
            this.message = message
            this.number = number
        }
    // end::inject-task-constructor[]
    
        @TaskAction
        void printIt() {
            println("$message $number")
        }
    // tag::inject-task-constructor[]
    }
    // end::inject-task-constructor[]
    
    // tag::on-task-container[]
    tasks.register('myTask', CustomTask, 'hello', 42)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 559 bytes
    - Viewed (0)
  10. test/deferprint.go

    	defer println(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20)
    	// Disabled so the test doesn't crash but left here for reference.
    	// defer panic("dead")
    	defer print("printing: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 586 bytes
    - Viewed (0)
Back to top