Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1611 - 1620 of 7,132 for String (0.07 seconds)

  1. android/guava-tests/test/com/google/common/base/FunctionsTest.java

            .testEquals();
      }
    
      public void testCompositionWildcard() {
        Map<String, Integer> mapJapaneseToInteger = new HashMap<>();
        Function<String, Integer> japaneseToInteger = Functions.forMap(mapJapaneseToInteger);
    
        Function<@Nullable Object, String> numberToSpanish = Functions.constant("Yo no se");
    
        Function<String, String> unusedJapaneseToSpanish =
            Functions.compose(numberToSpanish, japaneseToInteger);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

      private final ElementOrder<Integer> nodeOrder;
      private final ElementOrder<String> edgeOrder;
    
      private ImmutableNetwork.Builder<Integer, String> networkBuilder;
    
      public StandardImmutableDirectedNetworkTest(
          boolean allowsSelfLoops,
          boolean allowsParallelEdges,
          ElementOrder<Integer> nodeOrder,
          ElementOrder<String> edgeOrder) {
        this.allowsSelfLoops = allowsSelfLoops;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. internal/kms/kms.go

    		k.reqFail.Add(1)
    	} else {
    		k.reqErr.Add(1)
    	}
    }
    
    type kmsConn struct {
    	endpoints  []string
    	enclave    string
    	defaultKey string
    	client     *kms.Client
    }
    
    func (c *kmsConn) Version(ctx context.Context) (string, error) {
    	resp, err := c.client.Version(ctx, &kms.VersionRequest{})
    	if len(resp) == 0 && err != nil {
    		return "", err
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

        private final String layoutId;
    
        public UnknownRepositoryLayoutException(String repositoryId, String layoutId) {
            super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId);
            this.layoutId = layoutId;
        }
    
        public UnknownRepositoryLayoutException(String repositoryId, String layoutId, ComponentLookupException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/PrunedTag.java

        /** The CSS class name to match */
        private String css;
        /** The custom attribute name to match */
        private String attrName;
        /** The custom attribute value to match */
        private String attrValue;
    
        /**
         * Creates a new PrunedTag instance with the specified tag name.
         *
         * @param tag the HTML tag name to match (e.g., "div", "span", "p")
         */
        public PrunedTag(final String tag) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java

      }
    
      @Override
      TreeBasedTable<String, Integer, Character> makeTable() {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("a", 1, 'a');
        table.put("z", 1, 'a');
        return table;
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        TreeBasedTable<String, Integer, Character> table = makeTable();
        populateTable(table);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

    @GwtIncompatible // SerializableTester
    public class ReserializedSafeTreeMapMapInterfaceTest
        extends SortedMapInterfaceTest<String, Integer> {
      public ReserializedSafeTreeMapMapInterfaceTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 18 18:06:40 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         */
        protected void logScriptExecution(final String script, final String result) {
            if (!scriptAuditLogEnabled) {
                return;
            }
            try {
                String source = "unknown";
                String user = "system";
    
                final ScheduledJob job = getCurrentScheduledJob();
                if (job != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/RelationshipTester.java

       */
      private final Equivalence<? super T> equivalence;
    
      private final String relationshipName;
      private final String hashName;
      private final ItemReporter itemReporter;
      private final List<ImmutableList<T>> groups = new ArrayList<>();
    
      RelationshipTester(
          Equivalence<? super T> equivalence,
          String relationshipName,
          String hashName,
          ItemReporter itemReporter) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

      public void testSimple() throws Exception {
        String testString = "abcdefgh";
        CharSource source = newCharSource(testString);
        Reader joinedReader = CharSource.concat(source, source).openStream();
    
        String expectedString = testString + testString;
        assertThat(CharStreams.toString(joinedReader)).isEqualTo(expectedString);
      }
    
      private static CharSource newCharSource(String text) {
        return new CharSource() {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.8K bytes
    - Click Count (0)
Back to Top