Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for String4 (0.26 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy

                        @Model
                        List<String> strings() {
                          []
                        }
    
                        @Mutate
                        void addTasks(ModelMap<Task> tasks, List<String> strings) {
                            tasks.create("value") {
                                it.doLast {
                                    println "value: $strings"
                                }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue58611.go

    package p
    
    import (
    	"sort"
    	"strings"
    )
    
    func f[int any](x int) {
    	x = 0 /* ERRORx "cannot use 0.*(as int.*with int declared at|type parameter)" */
    }
    
    // test case from issue
    
    type Set[T comparable] map[T]struct{}
    
    func (s *Set[string]) String() string {
    	keys := make([]string, 0, len(*s))
    	for k := range *s {
    		keys = append(keys, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 00:40:19 UTC 2023
    - 742 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testgodefs/testgodefs_test.go

    		if err != nil {
    			t.Fatalf("%s: %v\n%s", strings.Join(cmd.Args, " "), err, cmd.Stderr)
    		}
    
    		fn := fp + "_defs.go"
    		if err := os.WriteFile(filepath.Join(dir, fn), out, 0644); err != nil {
    			t.Fatal(err)
    		}
    
    		// Verify that command line arguments are not rewritten in the generated comment,
    		// see go.dev/issue/52063
    		hasGeneratedByComment := false
    		for _, line := range strings.Split(strings.TrimSpace(string(out)), "\n") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. pkg/config/host/name.go

    			if len(n) < len(o) {
    				return strings.HasSuffix(string(o[1:]), string(n[1:]))
    			}
    			return strings.HasSuffix(string(n[1:]), string(o[1:]))
    		}
    		// only n is wildcard
    		return strings.HasSuffix(string(o), string(n[1:]))
    	}
    
    	if oWildcard {
    		// only o is wildcard
    		return strings.HasSuffix(string(n), string(o[1:]))
    	}
    
    	// both are non-wildcards, so do normal string comparison
    	return n == o
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 16:25:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

        }
    
        def "getProperty(String) is tracked for non-string values"() {
            when:
            def result = getMapUnderTestToRead().getProperty('keyWithNonStringValue')
    
            then:
            result == null
            1 * listener.onAccess('keyWithNonStringValue', NON_STRING_VALUE)
        }
    
        def "getProperty(String, String) is tracked for non-string values"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. cmd/admin-server-info.go

    		key := split[0]
    		value := ""
    		if len(split) > 1 {
    			value = split[1]
    		}
    
    		// Do not send sensitive creds.
    		if _, ok := sensitive[key]; ok || strings.Contains(strings.ToLower(key), "password") || strings.HasSuffix(strings.ToLower(key), "key") {
    			props.MinioEnvVars[key] = "*** EXISTS, REDACTED ***"
    			continue
    		}
    		props.MinioEnvVars[key] = value
    	}
    
    	objLayer := newObjectLayerFn()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. docs/debugging/inspect/main.go

    	var outputFileName string
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".enc") + ".zip"
    	case strings.HasSuffix(inputFileName, ".zip"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip"
    	case strings.Contains(inputFileName, ".enc."):
    		outputFileName = strings.Replace(inputFileName, ".enc.", ".", 1) + ".zip"
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/help.go

    // style command. The optional args specify the analyzers to describe.
    // Help calls log.Fatal if no such analyzer exists.
    func Help(progname string, analyzers []*analysis.Analyzer, args []string) {
    	// No args: show summary of all analyzers.
    	if len(args) == 0 {
    		fmt.Println(strings.Replace(help, "PROGNAME", progname, -1))
    		fmt.Println("Registered analyzers:")
    		fmt.Println()
    		sort.Slice(analyzers, func(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 01:33:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedImplStructStrategyTest.groovy

            schema.propertyNames == ['readOnlyString', 'strings'] as SortedSet
            schema.properties*.name == ['readOnlyString', 'strings']
            schema.getProperty('readOnlyString').type == ModelType.of(String)
            schema.getProperty('readOnlyString').schema == store.getSchema(ModelType.of(String))
            schema.getProperty('strings').type == ModelTypes.list(ModelType.of(String))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue8606b.go

    //
    // We use two different bad strings so that pointer comparisons of
    // backing store pointers fail.
    
    package main
    
    import (
    	"fmt"
    	"reflect"
    	"syscall"
    	"unsafe"
    )
    
    type SI struct {
    	s string
    	i int
    }
    
    type SS struct {
    	s string
    	t string
    }
    
    func main() {
    	bad1 := "foo"
    	bad2 := "foo"
    
    	p := syscall.Getpagesize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top