- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 4,354 for string (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
private static final class ImmutableSetMultimapGenerator extends TestStringSetMultimapGenerator { @Override protected SetMultimap<String, String> create(Entry<String, String>[] entries) { ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 27K bytes - Click Count (0) -
internal/grid/types.go
clear(m) return &m } // NewMSSWith returns a new MSS with the given map. func NewMSSWith(m map[string]string) *MSS { m2 := MSS(m) return &m2 } var mssPool = bpool.Pool[map[string]string]{ New: func() map[string]string { return make(map[string]string, 5) }, } // Recycle the underlying map. func (m *MSS) Recycle() { if m != nil && *m != nil { mssPool.Put(*m)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
docs/debugging/reorder-disks/main.go
"log" "net/url" "os" "path/filepath" "strings" "syscall" "github.com/minio/pkg/v3/ellipses" ) type xl struct { This string `json:"this"` Sets [][]string `json:"sets"` } type format struct { ID string `json:"id"` XL xl `json:"xl"` } func getMountMap() (map[string]string, error) { result := make(map[string]string) mountInfo, err := os.Open("/proc/self/mountinfo")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (0) -
internal/bucket/replication/replication.go
// does not match if recursive && !strings.HasPrefix(rule.Prefix(), prefix) && !strings.HasPrefix(prefix, rule.Prefix()) { continue } } return true } return false } // FilterTargetArns returns a slice of distinct target arns in the config func (c Config) FilterTargetArns(obj ObjectOpts) []string { var arns []string tgtsMap := make(map[string]struct{}) rules := c.FilterActionableRules(obj)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 8.9K bytes - Click Count (0) -
cmd/sftp-server.go
} } func filterAlgos(arg string, want []string, allowed []string) []string { var filteredAlgos []string found := false for _, algo := range want { if len(algo) == 0 { continue } for _, allowedAlgo := range allowed { algo := strings.ToLower(strings.TrimSpace(algo)) if algo == allowedAlgo { filteredAlgos = append(filteredAlgos, algo)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
cmd/signature-v2.go
func canonicalizedAmzHeadersV2(headers http.Header) string { var keys []string keyval := make(map[string]string, len(headers)) for key := range headers { lkey := strings.ToLower(key) if !strings.HasPrefix(lkey, "x-amz-") { continue } keys = append(keys, lkey) keyval[lkey] = strings.Join(headers[key], ",") } sort.Strings(keys) var canonicalHeaders []string for _, key := range keys {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); } public void testCopyOf_arrayOfOneElement() { String[] array = new String[] {"a"};Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 23.6K bytes - Click Count (0) -
.idea/misc.xml
<item index="5" class="java.lang.String" itemvalue="io.reactivex.annotations.Nullable" /> <item index="6" class="java.lang.String" itemvalue="io.reactivex.rxjava3.annotations.Nullable" /> <item index="7" class="java.lang.String" itemvalue="jakarta.annotation.Nullable" /> <item index="8" class="java.lang.String" itemvalue="javax.annotation.CheckForNull" />
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 15:00:20 GMT 2025 - 5.1K bytes - Click Count (0) -
internal/logger/console.go
} func (i infoMsg) pretty(msg string, args ...any) { if msg == "" { fmt.Fprintln(Output, args...) } else { fmt.Fprintf(Output, `INFO: `+msg, args...) } } type errorMsg struct{} var errorMessage errorMsg func (i errorMsg) json(msg string, args ...any) { var message string if msg != "" { message = fmt.Sprintf(msg, args...) } else {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java
this.terminalWidth = terminalWidth; } private static String chars(char c, int count) { return String.valueOf(c).repeat(Math.max(0, count)); } private void infoLine(char c) { infoMain(chars(c, lineLength)); } private void infoMain(String msg) { logger.info(builder().strong(msg).toString()); } private void init() { if (maxProjectNameLength == 0) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Dec 13 15:40:45 GMT 2024 - 17.5K bytes - Click Count (0)