Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,885 for Parses (0.24 sec)

  1. internal/amztime/iso8601_time.go

    	}
    	return value
    }
    
    // ISO8601Parse parses ISO8601 date string
    func ISO8601Parse(iso8601 string) (t time.Time, err error) {
    	for _, layout := range []string{
    		iso8601TimeFormat,
    		iso8601TimeFormatLong,
    		time.RFC3339,
    	} {
    		t, err = time.Parse(layout, iso8601)
    		if err == nil {
    			return t, nil
    		}
    	}
    
    	return t, err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 16 23:38:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. cni/cmd/istio-cni/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/provider.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package provider
    
    import "errors"
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    //
    //nolint:unused
    type DiscoveryDoc struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. operator/pkg/object/objects.go

    }
    
    // ParseJSONToK8sObject parses JSON to an K8sObject.
    func ParseJSONToK8sObject(json []byte) (*K8sObject, error) {
    	o, _, err := unstructured.UnstructuredJSONScheme.Decode(json, nil, nil)
    	if err != nil {
    		return nil, fmt.Errorf("error parsing json into unstructured object: %v", err)
    	}
    
    	u, ok := o.(*unstructured.Unstructured)
    	if !ok {
    		return nil, fmt.Errorf("parsed unexpected type %T", o)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 15.5K bytes
    - Viewed (1)
  5. src/internal/trace/testtrace/format.go

    // license that can be found in the LICENSE file.
    
    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. internal/event/arn.go

    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    	parsedARN, err := parseARN(s)
    	if err != nil {
    		return err
    	}
    
    	*arn = *parsedARN
    	return nil
    }
    
    // parseARN - parses string to ARN.
    func parseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:sqs:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ComponentIdentifierParserTest.groovy

    class ComponentIdentifierParserTest extends Specification {
    
        @Subject
        NotationParser<Object, ComponentIdentifier> parser = new ComponentIdentifierParserFactory().create()
    
        @Unroll("Parses #notation")
        def "can parse a module component identifier"() {
            when:
            def id = parser.parseNotation(notation)
    
            then:
            id instanceof ModuleComponentIdentifier
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_modinfo.txt

    # Test to ensure runtime/debug.ReadBuildInfo parses
    # the modinfo embedded in a binary by the go tool
    # when module is enabled.
    env GO111MODULE=on
    
    cd x
    go mod edit -require=rsc.io/quote@v1.5.2
    go mod edit -replace=rsc.io/quote@v1.5.2=rsc.io/quote@v1.0.0
    go mod tidy # populate go.sum
    
    # Build a binary and ensure that it can output its own debug info.
    # The debug info should be accessible before main starts (golang.org/issue/29628).
    go build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  9. src/regexp/syntax/parse.go

    	}
    	return re
    }
    
    // Parsing.
    
    // Parse parses a regular expression string s, controlled by the specified
    // Flags, and returns a regular expression parse tree. The syntax is
    // described in the top-level comment.
    func Parse(s string, flags Flags) (*Regexp, error) {
    	return parse(s, flags)
    }
    
    func parse(s string, flags Flags) (_ *Regexp, err error) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonGreeterTest.groovy

    import org.gradle.process.ExecResult
    import spock.lang.Specification
    
    class DaemonGreeterTest extends Specification {
    
        def registry = Mock(DocumentationRegistry)
        def args = ["foo", "bar"]
    
        def "parses the process output"() {
            given:
            def address = new MultiChoiceAddress(UUID.randomUUID(), 123, [])
    
            def outputStream = new ByteArrayOutputStream()
            def printStream = new PrintStream(outputStream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top