Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for Parse (0.04 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=UTF-8"),
                MediaType.parse("text/plain ; charset=utf-8"),
                MediaType.parse("text/plain; charset =UTF-8"),
                MediaType.parse("text/plain; charset= UTF-8"),
                MediaType.parse("text/plain; charset  =  UTF-8"),
                MediaType.parse("text/plain; charset=\tUTF-8"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http:\\/host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:/\\host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:\\\\host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:///host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:\\//host/path"))
          .isEqualTo(parse("http://host/path"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  3. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         * The query is processed through the filter chain before being parsed.
         *
         * @param query the query string to parse
         * @return the parsed Query object
         * @throws QueryParseException if the query cannot be parsed
         */
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        /**
         * Creates a new Lucene query parser with the current configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. tests/table_test.go

    	}
    
    	t.Run("default", func(t *testing.T) {
    		db, _ := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{})
    		user, err := schema.Parse(&LongString{}, &sync.Map{}, db.Config.NamingStrategy)
    		if err != nil {
    			t.Fatalf("failed to parse user unique, got error %v", err)
    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("parse sets mechanismToken and flags parsed")
        void parseSetsMechanismToken() throws IOException {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] raw = new byte[] { 5, 6 };
            t.parse(raw);
            assertTrue(t.isParsed(), "parse should mark parsed");
            assertArrayEquals(raw, t.getMechanismToken(), "parse should set mechanismToken");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertNotNull(parsed.getMechanisms(), "Should parse mechanisms");
                assertEquals(NegTokenInit.INTEGRITY, parsed.getContextFlags(), "Should parse flags");
                assertArrayEquals(new byte[] { 0x42 }, parsed.getMechanismToken(), "Should parse token");
            });
        }
    
        @Test
        @DisplayName("Parse rejects unknown nested token field")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. schema/relationship_test.go

    	syncMap := &sync.Map{}
    	for i := 0; i < 10; i++ {
    		go func() {
    			schema.Parse(&Info1{}, syncMap, schema.NamingStrategy{IdentifierMaxLength: 64})
    		}()
    
    		go func() {
    			schema.Parse(&Info2{}, syncMap, schema.NamingStrategy{IdentifierMaxLength: 64})
    		}()
    
    		go func() {
    			var result User
    			schema.Parse(&result, syncMap, schema.NamingStrategy{IdentifierMaxLength: 64})
    		}()
    		go func() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. cmd/object-api-options.go

    	if mtimeStr != "" {
    		mtime, err = time.Parse(time.RFC3339Nano, mtimeStr)
    		if err != nil {
    			return opts, fmt.Errorf("Unable to parse %s, failed with %w", xhttp.MinIOSourceMTime, err)
    		}
    	}
    	retaintimeStr := strings.TrimSpace(hdr.Get(xhttp.MinIOSourceObjectRetentionTimestamp))
    	var retaintimestmp time.Time
    	if retaintimeStr != "" {
    		retaintimestmp, err = time.Parse(time.RFC3339, retaintimeStr)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class)))
                    .thenReturn(Collections.singletonList(mockAuthData1));
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(2), eq(new byte[] { 0x02 }), any(Map.class)))
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top