Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 6,884 for asString (0.04 seconds)

  1. cmd/utils_test.go

    	}
    }
    
    func TestLCP(t *testing.T) {
    	testCases := []struct {
    		prefixes     []string
    		commonPrefix string
    	}{
    		{[]string{"", ""}, ""},
    		{[]string{"a", "b"}, ""},
    		{[]string{"a", "a"}, "a"},
    		{[]string{"a/", "a/"}, "a/"},
    		{[]string{"abcd/", ""}, ""},
    		{[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"},
    		{[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"},
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/witness/MockWitnessService.java

        private final ConcurrentHashMap<String, MockRegistration> registrations = new ConcurrentHashMap<>();
        private Thread serverThread;
    
        /**
         * Mock registration data
         */
        private static class MockRegistration {
            final String registrationId;
            final String shareName;
            final String serverAddress;
            final int flags;
            final long timestamp;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<String> iterable = asList(sourceArray);
        String[] newArray = Iterables.toArray(iterable, String.class);
        assertThat(newArray).isEqualTo(sourceArray);
      }
    
      public void testAny() {
        List<String> list = new ArrayList<>();
        Predicate<String> predicate = equalTo("pants");
    
        assertFalse(any(list, predicate));
        list.add("cool");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

        private record Plugin(String groupId, String artifactId, String version) {}
    
        private record Property(String name, String value) {}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        static final class PluginInfo {
            @Nonnull
            final String groupId;
    
            @Nonnull
            private final String artifactId;
    
            @Nullable
            private final String goalPrefix;
    
            @Nullable
            private final String name;
    
            PluginInfo(String groupId, String artifactId, String goalPrefix, String name) {
                this.groupId = groupId;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

        private final boolean parsingFailed;
        private final Path cwd;
        private final Path installationDirectory;
        private final Path userHomeDirectory;
        private final Map<String, String> userProperties;
        private final Map<String, String> systemProperties;
        private final Path topDirectory;
        private final Path rootDirectory;
        private final List<CoreExtensions> coreExtensions;
        private final CIInfo ciInfo;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. schema/index.go

    	"strings"
    )
    
    type Index struct {
    	Name    string
    	Class   string // UNIQUE | FULLTEXT | SPATIAL
    	Type    string // btree, hash, gist, spgist, gin, and brin
    	Where   string
    	Comment string
    	Option  string        // WITH PARSER parser_name
    	Fields  []IndexOption // Note: IndexOption's Field maybe the same
    }
    
    type IndexOption struct {
    	*Field
    	Expression string
    	Sort       string // DESC, ASC
    	Collate    string
    	Length     int
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesGenerator.java

        ) {
            Map<QualifiedVersion, Map<String, Map<String, List<ChangelogEntry>>>> changelogsByVersionByTypeByArea = new TreeMap<>(
                Comparator.reverseOrder()
            );
    
            changelogsByVersion.forEach((version, changelogs) -> {
                Map<String, Map<String, List<ChangelogEntry>>> changelogsByTypeByArea = changelogs.stream()
                    .collect(
                        groupingBy(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 4.5K bytes
    - Click Count (0)
  9. .teamcity/scripts/CheckBadMerge.java

            List<String> lines = getStdoutLines(new String[] {"git", "branch", "-r", "--contains", commit});
            List<String> out = new ArrayList<>();
            for (String line : lines) {
                String s = line.replace("*", "").trim();
                if (!s.isEmpty()) {
                    out.add(s);
                }
            }
            return out;
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

          };
        }
      }
    
      @Override
      protected Map<String, String> makeEmptyMap() {
        Map<String, Integer> underlying = new HashMap<>();
        return transformValues(
            new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top