Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for str1 (0.05 sec)

  1. src/cmd/compile/internal/reflectdata/alg_test.go

    		a string
    		b int
    	}
    	const size = 1024
    	var (
    		str1 = "foobar"
    		str2 = "foobarz"
    
    		a [size]T2
    		c [size]T2
    	)
    
    	for i := 0; i < size; i++ {
    		a[i].a = str1
    		c[i].a = str1
    	}
    	c[len(c)-1].a = str2
    
    	b.ResetTimer()
    	for j := 0; j < b.N; j++ {
    		_ = a == c
    	}
    }
    
    const size = 16
    
    type T1 struct {
    	a [size]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/slices/sort_test.go

    		{[]string{}, "", 0, false},
    
    		{str1, "foo", 0, true},
    		{str1, "bar", 0, false},
    		{str1, "zx", 1, false},
    
    		{str2, "aa", 0, false},
    		{str2, "ab", 0, true},
    		{str2, "ad", 1, false},
    		{str2, "ca", 1, true},
    		{str2, "ra", 2, false},
    
    		{str3, "bb", 0, false},
    		{str3, "mo", 0, true},
    		{str3, "nb", 1, false},
    		{str3, "qo", 1, true},
    		{str3, "tr", 2, false},
    		{str3, "vo", 2, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinateFactory.java

                }
                String str1 = request.getClassifier();
                String classifier = str1 != null && !str1.isEmpty()
                        ? request.getClassifier()
                        : type != null ? type.getClassifier() : "";
                String str = request.getExtension();
                String extension =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

            }
            String str1 = request.getClassifier();
            String classifier =
                    str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : null;
            String str = request.getExtension();
            String extension =
                    str != null && !str.isEmpty() ? request.getExtension() : type != null ? type.getExtension() : null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            String str1 = request.getResumeFrom();
            if (properties.containsKey(REMAINING_PROJECTS) && !(str1 != null && !str1.isEmpty())) {
                String propertyValue = properties.getProperty(REMAINING_PROJECTS);
                Stream.of(propertyValue.split(PROPERTY_DELIMITER))
                        .filter(str -> str != null && !str.isEmpty())
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 06 08:51:18 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/str/str.go

    // Copyright 2017 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.
    
    // Package str provides string manipulation utilities.
    package str
    
    import (
    	"fmt"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // StringList flattens its arguments into a single []string.
    // Each argument in args must have type string or []string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/coverage/stringtab/stringtab.go

    	for idx := 0; idx < numEntries; idx++ {
    		slen := str.r.ReadULEB128()
    		str.strs = append(str.strs, str.r.ReadString(int64(slen)))
    	}
    }
    
    // Entries returns the number of decoded entries in a string table.
    func (str *Reader) Entries() int {
    	return len(str.strs)
    }
    
    // Get returns string 'idx' within the string table.
    func (str *Reader) Get(idx uint32) string {
    	return str.strs[idx]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/fuse_test.go

    			Goto("checkPtr")),
    		Bloc("checkPtr",
    			Valu("ptr1", OpLoad, ptrType, 0, nil, "sb", "mem"),
    			Valu("nilptr", OpConstNil, ptrType, 0, nil),
    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "else")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("else",
    			Goto("exit")),
    		Bloc("exit",
    			Valu("phi", OpPhi, ptrType, 0, nil, "ptr1", "ptr1"),
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/str.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 500 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/str.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 504 bytes
    - Viewed (0)
Back to top