Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,295 for string (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          }
        }
    
        String stringA = new String(charsA);
        String stringB = new String(charsB);
        assertThat(stringA).isNotEqualTo(stringB);
        assertThat(HASH_FN.hashUnencodedChars(stringA))
            .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB));
        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         */
        void interpolate(
                @Nonnull Map<String, String> map,
                @Nullable Function<String, String> callback,
                @Nullable BiFunction<String, String, String> postprocessor,
                boolean defaultsToEmpty);
    
        /**
         * Interpolates a single string value using the provided callback function.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        String[] strings = NUMBER_NAMES.toArray(new String[0]);
        ImmutableSortedSet<String> set = ImmutableSortedSet.copyOf(strings);
        sort(strings);
        for (int i = 0; i < strings.length; i++) {
          assertThat(set.tailSet(strings[i], true))
              .containsExactlyElementsIn(sortedNumberNames(i, strings.length))
              .inOrder();
        }
      }
    
      public void testTailSetExclusive() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. api/next/61901.txt

    pkg bytes, func SplitSeq([]uint8, []uint8) iter.Seq[[]uint8] #61901
    pkg strings, func FieldsFuncSeq(string, func(int32) bool) iter.Seq[string] #61901
    pkg strings, func FieldsSeq(string) iter.Seq[string] #61901
    pkg strings, func Lines(string) iter.Seq[string] #61901
    pkg strings, func SplitAfterSeq(string, string) iter.Seq[string] #61901
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 676 bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ConverterTest.java

          @Override
          protected String doForward(String string) {
            return "forward";
          }
    
          @Override
          protected String doBackward(String string) {
            return "backward";
          }
        };
      }
    
      public void testSerialization_identity() {
        Converter<String, String> identityConverter = Converter.identity();
        SerializableTester.reserializeAndAssert(identityConverter);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_dryrun_test.go

    		})
    	}
    }
    
    func getRules(b []byte) map[string]string {
    	// Separate content with "COMMIT"
    	parts := strings.Split(string(b), "COMMIT")
    	tables := make(map[string]string)
    	for _, table := range parts {
    		// If table is not empty, get table name from the first line
    		lines := strings.Split(strings.Trim(table, "\n"), "\n")
    		lines = slices.Filter(lines, func(line string) bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    }
    
    func TestParsePAX(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want map[string]string
    		ok   bool
    	}{
    		{"", nil, true},
    		{"6 k=1\n", map[string]string{"k": "1"}, true},
    		{"10 a=name\n", map[string]string{"a": "name"}, true},
    		{"9 a=name\n", map[string]string{"a": "name"}, true},
    		{"30 mtime=1350244992.023960108\n", map[string]string{"mtime": "1350244992.023960108"}, true},
    		{"3 somelongkey=\n", nil, false},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected Set<String> create(String[] elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
          ImmutableSet.Builder<String> builder = ImmutableSet.builder();
          for (String e : elements) {
            builder.add(e);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. internal/logger/logger.go

    	var defaultgoPathList []string
    	var defaultgoRootList []string
    	pathSeparator := ":"
    	// Add all possible GOPATH paths into trimStrings
    	// Split GOPATH depending on the OS type
    	if runtime.GOOS == "windows" {
    		pathSeparator = ";"
    	}
    
    	goPathList = strings.Split(goPath, pathSeparator)
    	goRootList = strings.Split(goRoot, pathSeparator)
    	defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

      protected abstract BiMap<String, String> create(Entry<String, String>[] entries);
    
      @Override
      @SuppressWarnings("unchecked")
      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top