Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 546 for Parse (0.31 sec)

  1. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val onlyIfCached: Boolean = cacheControl.onlyIfCached()
        val noTransform: Boolean = cacheControl.noTransform()
        val immutable: Boolean = cacheControl.immutable()
        val parse: CacheControl = CacheControl.parse(Headers.of())
      }
    
      @Test @Disabled
      fun challenge() {
        val challenge = Challenge("", mapOf("" to ""))
        val scheme: String = challenge.scheme()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

        }
    
        def parse(File sourceFile, ClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository) {
            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. schema/relationship_test.go

    import (
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    )
    
    func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) {
    	if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil {
    		t.Errorf("Failed to parse schema, got error %v", err)
    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            _ * property.signature >> "$name-signature"
            _ * javadocConverter.parse(property, !null) >> ({[parse("<para>${args.comment ?: 'comment'}</para>")]} as DocComment)
            return property
        }
    
        def propertyDoc(Map<String, ?> args = [:], String name) {
            return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: [])
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.4K bytes
    - Viewed (0)
  5. schema/constraint_test.go

    	Name2 string `gorm:"check:name <> 'jinzhu'"`
    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user check, got error %v", err)
    	}
    
    	results := map[string]schema.CheckConstraint{
    		"name_checker": {
    			Name:       "name_checker",
    			Constraint: "name <> 'jinzhu'",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_redirect.go

    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_META_DNS_CAPTURE"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dnsRedirect, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse DNS capture environment variable %v", valErr)
    		}
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dualStack, valErr = strconv.ParseBool(v)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ParameterUtil.java

        protected static final String FIELD_PREFIX = "field.config.";
    
        protected ParameterUtil() {
            // nothing
        }
    
        public static Map<String, String> parse(final String value) {
            final Map<String, String> paramMap = new LinkedHashMap<>();
            if (value != null) {
                int unknownKey = 0;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

          return StatusLine(response.protocol, response.code, response.message)
        }
    
        @Throws(IOException::class)
        fun parse(statusLine: String): StatusLine {
          // H T T P / 1 . 1   2 0 0   T e m p o r a r y   R e d i r e c t
          // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
    
          // Parse protocol like "HTTP/1.1" followed by a space.
          val codeStart: Int
          val protocol: Protocol
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

            allTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { "${it.major}.${it.minor}" }
                .map { (_, v) -> v.maxOrNull()!!.format() }
    
            // Limit to first and last release of each major version
            mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { it.major }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MediaTypeGetTest.kt

    import okhttp3.MediaType.Companion.toMediaType
    
    open class MediaTypeGetTest : MediaTypeTest() {
      override fun parse(string: String): MediaType = string.toMediaType()
    
      override fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        val e =
          assertFailsWith<IllegalArgumentException> {
            parse(string)
          }
        assertEquals(exceptionMessage, e.message)
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top