Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,920 for printsp (0.09 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/disableTask/groovy/build.gradle

    def disableMe = tasks.register('disableMe') {
        doLast {
            println 'This should not be printed if the task is disabled.'
        }
    }
    
    disableMe.configure {
        enabled = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 182 bytes
    - Viewed (0)
  2. src/runtime/netpoll_kqueue_event.go

    		}
    		if n == -_EINTR {
    			// Check out the comment in addWakeupEvent.
    			continue
    		}
    		println("runtime: netpollBreak write failed with", -n)
    		throw("runtime: netpollBreak write failed")
    	}
    }
    
    func isWakeup(ev *keventt) bool {
    	if ev.filter == _EVFILT_USER {
    		if ev.ident == kqIdent {
    			return true
    		}
    		println("runtime: netpoll: break fd ready for", ev.ident)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/global_test.go

    	if err != nil {
    		t.Fatalf("could not read target: %v", err)
    	}
    	if bytes.Contains(out, []byte("scanInt")) {
    		t.Fatalf("scanf code not removed from helloworld")
    	}
    }
    
    // Make sure -S prints assembly code. See issue 14515.
    func TestDashS(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	// Make a directory to work in.
    	dir := t.TempDir()
    
    	// Create source.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/dist/main.go

    Commands are:
    
    banner                  print installation banner
    bootstrap               rebuild everything
    clean                   deletes all built files
    env [-p]                print environment (-p: include $PATH)
    install [dir]           install individual directory
    list [-json] [-broken]  list all supported platforms
    test [-h]               run Go test(s)
    version                 print Go version
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/diff/diff.go

    func StringDiff(a, b string) string {
    	return legacyDiff(a, b)
    }
    
    // ObjectDiff prints the diff of two go objects and fails if the objects
    // contain unhandled unexported fields.
    // DEPRECATED: use github.com/google/go-cmp/cmp.Diff
    func ObjectDiff(a, b interface{}) string {
    	return legacyDiff(a, b)
    }
    
    // ObjectGoPrintDiff prints the diff of two go objects and fails if the objects
    // contain unhandled unexported fields.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. docs/debugging/s3-check-md5/main.go

    		for object := range s3Client.ListObjects(context.Background(), bucket, opts) {
    			if object.Err != nil {
    				log.Println("FAILED: LIST with error:", object.Err)
    				continue
    			}
    			if !minModTime.IsZero() && object.LastModified.Before(minModTime) {
    				continue
    			}
    			if object.IsDeleteMarker {
    				log.Println("SKIPPED: DELETE marker object:", objFullPath(object))
    				continue
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. 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)
  8. src/math/big/calibrate_test.go

    	maxSqr := computeSqrThreshold(200, 500, 10, 3, sqrModeBasic, sqrModeKaratsuba)
    	if minSqr != 0 {
    		fmt.Printf("found basicSqrThreshold = %d\n", minSqr)
    	} else {
    		fmt.Println("no basicSqrThreshold found")
    	}
    	if maxSqr != 0 {
    		fmt.Printf("found karatsubaSqrThreshold = %d\n", maxSqr)
    	} else {
    		fmt.Println("no karatsubaSqrThreshold found")
    	}
    }
    
    func karatsubaLoad(b *testing.B) {
    	BenchmarkMul(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. istioctl/pkg/metrics/metrics.go

    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "metrics <workload name>...",
    		Short: "Prints the metrics for the specified workload(s) when running in Kubernetes.",
    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/context/example_test.go

    	// should abandon its work after the timeout elapses.
    	ctx, cancel := context.WithTimeout(context.Background(), shortDuration)
    	defer cancel()
    
    	select {
    	case <-neverReady:
    		fmt.Println("ready")
    	case <-ctx.Done():
    		fmt.Println(ctx.Err()) // prints "context deadline exceeded"
    	}
    
    	// Output:
    	// context deadline exceeded
    }
    
    // This example demonstrates how a value can be passed to the context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top