Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 819 for parse (0.08 sec)

  1. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

            SAXParserFactoryUtil.setXIncludeAware(spf, true);
            spf.setNamespaceAware(true);
            final SAXParser parser = SAXParserFactoryUtil.newSAXParser(spf);
    
            final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/include.xml"));
            is.setSystemId("include.xml");
            parser.parse(is, new DefaultHandler() {
    
                @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. internal/config/heal/heal.go

    const minimumBitrotCycleInMonths = 1
    
    func parseBitrotConfig(s string) (time.Duration, error) {
    	// Try to parse as a boolean
    	enabled, err := config.ParseBool(s)
    	if err == nil {
    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    	if !strings.HasSuffix(s, "m") {
    		return -1, errors.New("unknown format")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the POM due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     * @deprecated use {@link org.apache.maven.api.services.xml.ModelXmlFactory} instead
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.io;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to parse the settings due to invalid syntax (e.g. non well formed XML or unknown elements).
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.xml.SettingsXmlFactory} instead
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                            }
                        }
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to parse annotation.", e);
                }
            }
        }
    
        protected void extractFile(final String filename, final PDEmbeddedFile embeddedFile, final StringWriter writer) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Request.kt

       */
      @get:JvmName("cacheControl")
      val cacheControl: CacheControl
        get() {
          var result = lazyCacheControl
          if (result == null) {
            result = CacheControl.parse(headers)
            lazyCacheControl = result
          }
          return result
        }
    
      @JvmName("-deprecated_url")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slowish")
    class MultipartReaderTest {
      @Test fun `parse multipart`() {
        val multipart =
          """
          |--simple boundary
          |Content-Type: text/plain; charset=utf-8
          |Content-ID: abc
          |
          |abcd
          |efgh
          |--simple boundary
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/SpnegoToken.java

    
        public void setMechanismListMIC ( byte[] mechanismListMIC ) {
            this.mechanismListMIC = mechanismListMIC;
        }
    
    
        public abstract byte[] toByteArray ();
    
    
        protected abstract void parse ( byte[] token ) throws IOException;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/cmd/istioctl_test.go

    // limitations under the License.
    
    package cmd
    
    import (
    	"testing"
    
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    )
    
    func TestBadParse(t *testing.T) {
    	// unknown flags should be a command parse
    	rootCmd := GetRootCmd([]string{"--unknown-flag"})
    	fErr := rootCmd.Execute()
    
    	switch fErr.(type) {
    	case istioctlutil.CommandParseError:
    		// do nothing
    	default:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 29 14:53:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser.go

    }
    
    // FuncExpr represents a function call
    type FuncExpr struct {
    	SFunc     *SimpleArgFunc `parser:"  @@"`
    	Count     *CountFunc     `parser:"| @@"`
    	Cast      *CastFunc      `parser:"| @@"`
    	Substring *SubstringFunc `parser:"| @@"`
    	Extract   *ExtractFunc   `parser:"| @@"`
    	Trim      *TrimFunc      `parser:"| @@"`
    	DateAdd   *DateAddFunc   `parser:"| @@"`
    	DateDiff  *DateDiffFunc  `parser:"| @@"`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top