Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 538 for parseAI (0.06 sec)

  1. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
            expected = Arrays.asList(" ");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. schema/schema_test.go

    		t.Fatalf("failed to parse user with map, got error %v", err)
    	}
    
    	if field := user.FieldsByName["Attrs"]; field.DataType != "Map(String,String)" {
    		t.Errorf("failed to parse user field Attrs")
    	}
    }
    
    func TestParseSchemaWithPointerFields(t *testing.T) {
    	user, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse pointer user, got error %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

        /**
         * Method read.
         *
         * @param parser a parser object.
         * @param strict a strict object.
         * @return Metadata
         * @throws IOException            IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         *                                any.
         */
        public Metadata read(XMLStreamReader parser, boolean strict) throws IOException, XmlPullParserException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        val mediaType = parse("text/plain;a=\";charset=utf-8;b=\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testSingleQuotesAreNotSpecial() {
        val mediaType = parse("text/plain;a=';charset=utf-8;b='")
        assertEquals("UTF-8", mediaType.charsetName())
      }
    
      @Test fun testParseWithSpecialCharacters() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                XMLStreamReader parser = factory.createXMLStreamReader(input);
    
                InputSource source = getSource(options);
                boolean strict = isStrict(options);
                MavenStaxReader mr = new MavenStaxReader();
                mr.setAddLocationInformation(source != null);
                Model model = new Model(mr.read(parser, strict, source != null ? source.toApiSource() : null));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

            }
        }
    
        /**
         * Method read.
         *
         * @param parser a parser object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Settings
         */
        public Settings read(XMLStreamReader parser, boolean strict) throws IOException, XmlPullParserException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    bsCount++;
                }
    
                return bsCount % 2 != 0;
            }
    
            /**
             * Parse a property line and return the key and the value in an array.
             *
             * @param line the line to parse
             * @return an array with the property's key and value
             */
            private static String[] parseProperty(String line) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/InetAddressesTest.java

            assertThat(InetAddresses.toAddrString(parsed)).contains("%");
            if (isNumeric) {
              assertEquals(Integer.parseInt(scopeId), parsed.getScopeId());
            } else {
              assertEquals(scopeId, parsed.getScopedInterface().getName());
            }
            Inet6Address reparsed =
                (Inet6Address) InetAddresses.forString(InetAddresses.toAddrString(parsed));
            assertEquals(reparsed, parsed);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws ModelParseException If the input format could not be parsed.
         * @deprecated Use {@link #read(Path, Map)} instead.
         */
        @Deprecated
        Model read(File input, Map<String, ?> options) throws IOException, ModelParseException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

      @Test fun testIllegalCharsetName() {
        val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testUnsupportedCharset() {
        val mediaType = parse("text/plain; charset=utf-wtf")
        assertNull(mediaType.charsetName())
      }
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() {
        val mediaType = parse("text/plain;charset=\"'utf-8'\"")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top