Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 271 for Parses (0.1 sec)

  1. cmd/encryption-v1.go

    	k, err := crypto.SSECopy.ParseHTTP(h)
    	return k[:], err
    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderTest.groovy

     */
    package org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser
    
    import org.gradle.api.internal.artifacts.DefaultModuleIdentifier
    import org.gradle.api.internal.artifacts.DefaultModuleVersionIdentifier
    import org.gradle.api.internal.artifacts.ImmutableModuleIdentifierFactory
    import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.data.MavenDependencyKey
    import org.xml.sax.SAXParseException
    import spock.lang.Issue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 15:53:23 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    	return ""
    }
    
    // Parses given storageClassEnv and returns a storageClass structure.
    // Supported Storage Class format is "Scheme:Number of parity drives".
    // Currently only supported scheme is "EC".
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/workcmd/edit.go

    // during -fix).  Even so, we need to make sure the version is a valid token.
    func allowedVersionArg(arg string) bool {
    	return !modfile.MustQuote(arg)
    }
    
    // parsePathVersionOptional parses path[@version], using adj to
    // describe any errors.
    func parsePathVersionOptional(adj, arg string, allowDirPath bool) (path, version string, err error) {
    	before, after, found := strings.Cut(arg, "@")
    	if !found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/ldap.go

    			if strings.Contains(err.Error(), "User DN not found for") {
    				return nil, nil
    			}
    			return nil, fmt.Errorf("Unable to find user DN: %w", err)
    		}
    		return bindDN, nil
    	}
    
    	// Since the username parses as a valid DN, check that it exists and is
    	// under a configured base DN in the LDAP directory.
    	validDN, isUnderBaseDN, err := l.GetValidatedUserDN(conn, username)
    	if err == nil && !isUnderBaseDN {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  6. cmd/endpoint-ellipses_test.go

    		if paddinglen == 0 {
    			seq = append(seq, fmt.Sprintf("%d", i))
    		} else {
    			seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dd", paddinglen), i))
    		}
    	}
    	return seq
    }
    
    // Test tests parses endpoint ellipses input pattern.
    func TestParseEndpointSet(t *testing.T) {
    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. src/cmd/vet/vet_test.go

    	errAutoRx   = regexp.MustCompile(`// (?:GC_)?ERRORAUTO(NEXT)? (.*)`)
    	errQuotesRx = regexp.MustCompile(`"([^"]*)"`)
    	lineRx      = regexp.MustCompile(`LINE(([+-])(\d+))?`)
    )
    
    // wantedErrors parses expected errors from comments in a file.
    func wantedErrors(file, short string) (errs []wantedError) {
    	cache := make(map[string]*regexp.Regexp)
    
    	src, err := os.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/internal/trace/generation.go

    				M: mid,
    				P: pid,
    				G: goid,
    			},
    			time:  Time(ts), // N.B. this is really a "timestamp," not a Time.
    			stack: stackID(s),
    		})
    	}
    	return samples, nil
    }
    
    // parseFreq parses out a lone EvFrequency from a batch.
    func parseFreq(b batch) (frequency, error) {
    	if !b.isFreqBatch() {
    		return 0, fmt.Errorf("internal error: parseFreq called on non-frequency batch")
    	}
    	r := bytes.NewReader(b.data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/time/format_test.go

    	// issue 56730
    	{"2006-01-02", "22-10-25", `parsing time "22-10-25" as "2006-01-02": cannot parse "22-10-25" as "2006"`},
    	{"06-01-02", "a2-10-25", `parsing time "a2-10-25" as "06-01-02": cannot parse "a2-10-25" as "06"`},
    	{"03:04PM", "12:03pM", `parsing time "12:03pM" as "03:04PM": cannot parse "pM" as "PM"`},
    	{"03:04pm", "12:03pM", `parsing time "12:03pM" as "03:04pm": cannot parse "pM" as "pm"`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                val result = module.getJavaModuleRoots()
                result
            }
        }
    
        /**
         * Note that [findJvmRootsForJavaFiles] parses the given [files] because it needs access to each file's package name. To avoid parsing
         * errors, [registerJavaPsiFacade] ensures that the Java language level is configured before [findJvmRootsForJavaFiles] is called.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top