Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 560 for parseRhs (0.17 sec)

  1. hack/verify-netparse-cve.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script checks if the "net" stdlib IP and CIDR parsers are used
    # instead of the ones forked in k8s.io/utils/net to parse IP addresses
    # because of the compatibility break introduced in golang 1.17
    # Reference: #100895
    # Usage: `hack/verify-netparse-cve.sh`.
    
    set -o errexit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/net/port.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    // parsePort parses service as a decimal integer and returns the
    // corresponding value as port. It is the caller's responsibility to
    // parse service as a non-decimal integer when needsLookup is true.
    //
    // Some system resolvers will return a valid port number when given a number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:56 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfoTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.process.internal.health.memory
    
    import spock.lang.Specification
    
    class MemInfoOsMemoryInfoTest extends Specification {
        def "parses memory from /proc/meminfo on Linux 3.x"() {
            given:
            def snapshot = new MemInfoOsMemoryInfo().getOsSnapshotFromMemInfo(meminfoLinux3())
    
            expect:
            snapshot.physicalMemory.free == 32_343_658_496L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. cmd/bucket-encryption.go

    func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) {
    	sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	return sseCfg, err
    }
    
    // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO.
    func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) {
    	encConfig, err := sse.ParseBucketSSEConfig(r)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. internal/config/lambda/event/arn.go

    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // ParseARN - parses string to ARN.
    func ParseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/text/template/multi_test.go

    }
    
    func TestParseFS(t *testing.T) {
    	fs := os.DirFS("testdata")
    
    	{
    		_, err := ParseFS(fs, "DOES NOT EXIST")
    		if err == nil {
    			t.Error("expected error for non-existent file; got none")
    		}
    	}
    
    	{
    		template := New("root")
    		_, err := template.ParseFS(fs, "file1.tmpl", "file2.tmpl")
    		if err != nil {
    			t.Fatalf("error parsing files: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 10:48:29 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  7. 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")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 13:50:17 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. tools/docker-builder/dockerfile/parse.go

    	cmd        []string
    
    	shlex *shell.Lex
    }
    
    func cut(s, sep string) (before, after string) {
    	if i := strings.Index(s, sep); i >= 0 {
    		return s[:i], s[i+len(sep):]
    	}
    	return s, ""
    }
    
    // Parse parses the provided Dockerfile with the given args
    func Parse(f string, opts ...Option) (builder.Args, error) {
    	empty := builder.Args{}
    	o := &options{
    		baseDir: filepath.Dir(f),
    	}
    
    	for _, option := range opts {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc

      auto err = current_parser.ConformTo(base_parser);
      if (!err.empty()) {
        fprintf(stderr,
                "Schemas don't conform:\n%s\n"
                "In other words some change you made means that new parsers can't"
                "parse old files.\n",
                err.c_str());
        FAIL();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/CacheVersionTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.cache.internal
    
    import spock.lang.Specification
    
    class CacheVersionTest extends Specification {
    
        def "parses version number"() {
            expect:
            CacheVersion.parse("") == CacheVersion.empty()
            CacheVersion.parse("42") == CacheVersion.of(42)
            CacheVersion.parse("1.2.3.4.5") == CacheVersion.of(1, 2, 3, 4, 5)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top