Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for ptrint (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    			Pos:     n.Pos(),
    			Message: fmt.Sprintf("conversion from %s to %s yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)", source, target),
    		}
    
    		if convertibleToRune {
    			diag.SuggestedFixes = []analysis.SuggestedFix{
    				{
    					Message: "Did you mean to convert a rune to a string?",
    					TextEdits: []analysis.TextEdit{
    						{
    							Pos:     arg.Pos(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/go/printer/printer_test.go

    		t.Fatal(err)
    	}
    
    	// pretty-print original
    	var buf bytes.Buffer
    	err = (&Config{Mode: UseSpaces | SourcePos, Tabwidth: 8}).Fprint(&buf, fset, f1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	got := buf.String()
    
    	// compare original with desired output
    	if got != want {
    		t.Errorf("got:\n%s\nwant:\n%s\n", got, want)
    	}
    }
    
    var decls = []string{
    	`import "fmt"`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/math/big/floatexample_test.go

    	// +Inf  +Inf    0
    }
    
    func ExampleRoundingMode() {
    	operands := []float64{2.6, 2.5, 2.1, -2.1, -2.5, -2.6}
    
    	fmt.Print("   x")
    	for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ {
    		fmt.Printf("  %s", mode)
    	}
    	fmt.Println()
    
    	for _, f64 := range operands {
    		fmt.Printf("%4g", f64)
    		for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    }
    
    func newMuxClient(ctx context.Context, muxID uint64, parent *Connection) *muxClient {
    	ctx, cancelFn := context.WithCancelCause(ctx)
    	return &muxClient{
    		MuxID:              muxID,
    		ctx:                ctx,
    		cancelFn:           cancelFn,
    		parent:             parent,
    		LastPong:           time.Now().UnixNano(),
    		BaseFlags:          parent.baseFlags,
    		clientPingInterval: parent.clientPingInterval,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. cmd/iam.go

    	updatedKeysMap := make(map[string]madmin.SRSvcAccCreate)
    	for ak, createReq := range accessKeyMap {
    		parent := createReq.Parent
    		groups := createReq.Groups
    
    		_, err := ldap.NormalizeDN(parent)
    		if err != nil {
    			// not a valid DN, ignore.
    			continue
    		}
    
    		hasDiff := false
    
    		// For the parent value, we require that the parent exists in the LDAP
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. configure.py

      print('    %s' % config['cudnn_include_dir'])
    
      if 'tensorrt_version' in config:
        print('Found TensorRT %s in:' % config['tensorrt_version'])
        print('    %s' % config['tensorrt_library_dir'])
        print('    %s' % config['tensorrt_include_dir'])
    
      if config.get('nccl_version', None):
        print('Found NCCL %s in:' % config['nccl_version'])
        print('    %s' % config['nccl_library_dir'])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  7. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                }
            """
        }
    
        static String getProjectPluginThatProvidesSoftwareType(
            String implementationTypeClassName = "TestSoftwareTypeExtension",
            String publicTypeClassName = null,
            String softwareTypePluginClassName = "SoftwareTypeImplPlugin",
            String softwareType = "testSoftwareType",
            String conventions = testSoftwareTypeExtensionConventions
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

                })
    
                tasks.register("print") {
                    doLast {
                        ciVars.get().forEach((k, v) -> {
                            println("Execution: \$k = \$v")
                        })
                    }
                }
            """)
    
            when:
            EnvVariableInjection.environmentVariable("CI1", "1").setup(this)
            configurationCacheRun("print")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    (parent.expression == child && isUsed(parent.parent)) || child in parent.conditions
    
                is KtWhenCondition ->
                    doesParentUseChild(parent.parent, parent)
    
                // Type parameters, return types and other annotations are all contained in KtUserType,
                // and are never considered used as expressions
                is KtUserType ->
                    false
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //	    Error    string // error loading module
    //	    Info     string // absolute path to cached .info file
    //	    GoMod    string // absolute path to cached .mod file
    //	    Zip      string // absolute path to cached .zip file
    //	    Dir      string // absolute path to cached source root directory
    //	    Sum      string // checksum for path, version (as in go.sum)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top