- Sort Score
- Result 10 results
- Languages All
Results 861 - 870 of 6,241 for if (0.02 sec)
-
guava/src/com/google/common/io/Resources.java
* this class ({@code Resources}) will be used instead. * * @throws IllegalArgumentException if the resource is not found */ @CanIgnoreReturnValue // being used to check if a resource exists // TODO(cgdecker): maybe add a better way to check if a resource exists // e.g. Optional<URL> tryGetResource or boolean resourceExists public static URL getResource(String resourceName) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 7.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
property.setReplacement(methodMetaData.getReplacement()); return; } if (methodMetaData.getParameters().size() != 1) { return; } matcher = SETTER_METHOD_NAME.matcher(name); if (matcher.matches()) { int startName = matcher.start(1);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { writeErrorResponse(w, err) return } var out bytes.Buffer json.Indent(&out, body, "", " ") fmt.Printf("Received JSON payload:\n%s\n", out.String()) reqMap := make(map[string]interface{}) err = json.Unmarshal(body, &reqMap) if err != nil { writeErrorResponse(w, err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
if (logger.isDebugEnabled()) { logger.debug("Send {} to the searchers.", query); } final int pageSize = params.getPageSize(); final int startPosition = params.getStartPosition(); if (startPosition * 2 >= windowSize) { int offset = params.getOffset(); if (offset < 0) { offset = 0;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.3K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
} if len(s) == 0 { return } for _, p := range strings.Split(s, ",") { if p == "" { continue } slc := strings.Split(p, "=") if len(slc) != 2 { return r, errInvalidReplicateDecisionFormat } tgtStr := strings.TrimSuffix(strings.TrimPrefix(slc[1], `"`), `"`) tgt := strings.Split(tgtStr, ";") if len(tgt) != 4 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 26.3K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
) (map[string]*discovery.DiscoveryResponse, error) { // If Central Istiod case, just call it if ns == "" { ns = istioNamespace } if ns == istioNamespace { serviceAccount = tokenServiceAccount } if centralOpts.Xds != "" { dialOpts, err := xds.DialOptions(centralOpts, ns, serviceAccount, kubeClient) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0) -
helm-releases/minio-4.0.4.tgz
Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 14 04:44:23 UTC 2022 - 18.2K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
fi1, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } fi2, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } if !SameFile(fi1, fi2) { t.Fatal("Expected the files to be same") } if err = os.WriteFile(tmpFile, []byte("aaa"), 0o644); err != nil { t.Fatal(err) } fi2, err = os.Stat(tmpFile) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
while (trace != null) { Object data = trace.getData(); if (data instanceof CollectStepData) { collectStepTrace = (CollectStepData) data; } else if (data instanceof ArtifactDescriptorRequest) { artifactDescriptorRequest = (ArtifactDescriptorRequest) data; } else if (data instanceof ArtifactRequest) { artifactRequest = (ArtifactRequest) data;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.8K bytes - Viewed (0) -
cmd/warm-backend-azure.go
func azureToObjectError(err error, params ...string) error { if err == nil { return nil } bucket := "" object := "" if len(params) >= 1 { bucket = params[0] } if len(params) == 2 { object = params[1] } azureErr, ok := err.(*azcore.ResponseError) if !ok { // We don't interpret non Azure errors. As azure errors will
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0)