Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 160 for parsers (0.48 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

    import org.w3c.dom.*
    import org.xml.sax.InputSource
    import spock.lang.Specification
    
    import javax.xml.parsers.DocumentBuilder
    import javax.xml.parsers.DocumentBuilderFactory
    
    abstract class XmlSpecification extends Specification {
        final Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
    
        def parse(String str, Document document = null) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         *
         * @param parser
         *            プロパティを設定する{@link SAXParser}。{@literal null}であってはいけません
         * @param name
         *            設定されるプロパティの名前。{@literal null}や空文字列であってはいけません
         * @param value
         *            設定されるプロパティの値
         */
        public static void setProperty(final SAXParser parser, final String name, final String value) {
            assertArgumentNotNull("parser", parser);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.TaskAction
    import org.gradle.api.tasks.UntrackedTask
    import java.util.Properties
    import javax.xml.parsers.DocumentBuilderFactory
    
    
    /**
     * Fetch the latest Kotlin versions and write a properties file.
     * Never up-to-date, non-cacheable.
     */
    @UntrackedTask(because = "Not worth tracking")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 13:50:17 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/xml/DomUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.xml;
    
    import javax.xml.parsers.DocumentBuilder;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    /**
     * @author higa
     *
     */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

            }
        }
    
        private
        val List<String>.firstBaseVersion: String
            get() = VersionNumber.parse(first()).minorBaseVersion
    
        private
        val List<String>.lastBaseVersion: String
            get() = map { VersionNumber.parse(it) }
                .last { it.qualifier == null || it.qualifier?.startsWith("rc") == true }
                .minorBaseVersion
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. internal/s3select/csv/reader.go

    			case r.input <- &q:
    			}
    			if nextErr != nil {
    				// Exit on any error.
    				return
    			}
    			next, nextErr = r.nextSplit(csvSplitSize, r.bufferPool.Get().([]byte))
    		}
    	}()
    
    	// Start parsers
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		go func() {
    			for in := range r.input {
    				if len(in.input) == 0 {
    					in.dst <- nil
    					continue
    				}
    				dst, ok := r.csvDstPool.Get().([][]string)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. internal/s3select/json/preader.go

    			}
    
    			select {
    			case <-r.close:
    				return
    			case r.input <- &q:
    			}
    			if err != nil {
    				// Exit on any error.
    				return
    			}
    		}
    	}()
    
    	// Start parsers
    	for i := 0; i < runtime.GOMAXPROCS(0); i++ {
    		go func() {
    			for in := range r.input {
    				if len(in.input) == 0 {
    					in.dst <- nil
    					continue
    				}
    				dst, ok := r.kvDstPool.Get().([]jstream.KVS)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  8. internal/amztime/parse.go

    	// Add new AMZ date formats here.
    }
    
    // ErrMalformedDate always returned for dates that cannot be parsed.
    var ErrMalformedDate = errors.New("malformed date")
    
    // Parse parses date string via supported amz date formats.
    func Parse(amzDateStr string) (time.Time, error) {
    	for _, dateFormat := range amzDateFormats {
    		amzDate, err := time.Parse(dateFormat, amzDateStr)
    		if err == nil {
    			return amzDate, nil
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. internal/jwt/parser_test.go

    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/golang-jwt/jwt/v4"
    )
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser.go

    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    	Expires time.Duration
    }
    
    // Parses signature version '4' query string of the following form.
    //
    //	querystring = X-Amz-Algorithm=algorithm
    //	querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope)
    //	querystring += &X-Amz-Date=date
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top