Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 190 for Parse (0.36 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      companion object {
        val MOCKSERVER_IMAGE: DockerImageName =
          DockerImageName
            .parse("mockserver/mockserver")
            .withTag("mockserver-5.15.0")
    
        fun OkHttpClient.Builder.trustMockServer(): OkHttpClient.Builder =
          apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

            ).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      companion object {
        val SOCKS5_PROXY: DockerImageName =
          DockerImageName
            .parse("serjs/go-socks5-proxy")
            .withTag("v0.0.3")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. cmd/license-update.go

    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    	if r.Index == 0 {
    		internalLogIf(ctx, fmt.Errorf("license not found in response from %s", url))
    		return
    	}
    
    	lic := r.String()
    	if lic == globalSubnetConfig.License {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. fastapi/utils.py

        new_field.pre_validators = field.pre_validators  # type: ignore[attr-defined]
        new_field.post_validators = field.post_validators  # type: ignore[attr-defined]
        new_field.parse_json = field.parse_json  # type: ignore[attr-defined]
        new_field.shape = field.shape  # type: ignore[attr-defined]
        new_field.populate_validators()  # type: ignore[attr-defined]
        return new_field
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. callbacks.go

    	}
    
    	// assign model values
    	if stmt.Model == nil {
    		stmt.Model = stmt.Dest
    	} else if stmt.Dest == nil {
    		stmt.Dest = stmt.Model
    	}
    
    	// parse model values
    	if stmt.Model != nil {
    		if err := stmt.Parse(stmt.Model); err != nil && (!errors.Is(err, schema.ErrUnsupportedDataType) || (stmt.Table == "" && stmt.TableExpr == nil && stmt.SQL.Len() == 0)) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  6. common/scripts/setup_env.sh

    # This function will properly handle any type of path including those with spaces using the
    # loading pattern specified by *kubectl config*.
    #
    # testcase: "a:b c:d"
    # testcase: "a b:c d:e f"
    # testcase: "a b:c:d e"
    parse_KUBECONFIG () {
    TMPDIR=""
    if [[ "$1" =~ ([^:]*):(.*) ]]; then
      while true; do
        rematch=${BASH_REMATCH[1]}
        add_KUBECONFIG_if_exists "$rematch"
        remainder="${BASH_REMATCH[2]}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * Provides access to the contents of a source independently of the
     * backing store (e.g. file system, database, memory).
     * <p>
     * This is mainly used to parse files into objects such as
     * {@link org.apache.maven.api.Project},
     * {@link org.apache.maven.api.model.Model},
     * {@link org.apache.maven.api.settings.Settings}, or
     * {@link org.apache.maven.api.toolchain.PersistedToolchains}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/xml/DomUtilTest.java

         * @throws Exception
         */
        public void testToString() throws Exception {
            final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
            final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml"));
            final Element root = doc.getDocumentElement();
            final String contents = DomUtil.toString(root);
            System.out.println(contents);
    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)
  9. okhttp/api/okhttp.api

    	public final fun -deprecated_parse (Ljava/lang/String;)Lokhttp3/HttpUrl;
    	public final fun defaultPort (Ljava/lang/String;)I
    	public final fun get (Ljava/lang/String;)Lokhttp3/HttpUrl;
    	public final fun get (Ljava/net/URI;)Lokhttp3/HttpUrl;
    	public final fun get (Ljava/net/URL;)Lokhttp3/HttpUrl;
    	public final fun parse (Ljava/lang/String;)Lokhttp3/HttpUrl;
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    				return
    			}
    			if c.incomingBytes != nil {
    				c.incomingBytes(int64(len(msg)))
    			}
    
    			// Parse the received message
    			var m message
    			subID, remain, err := m.parse(msg)
    			if err != nil {
    				gridLogIf(ctx, fmt.Errorf("ws parse package: %w", err))
    				cancel(ErrDisconnected)
    				return
    			}
    			if debugPrint {
    				fmt.Printf("%s Got msg: %v\n", c.Local, m)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top