Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for res (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            ArtifactResolutionResult res = collect(createSet(new Object[] {a.artifact, b.artifact}));
            assertEquals(createSet(new Object[] {a.artifact, b.artifact}), res.getArtifacts(), "Check artifact list");
            assertEquals("3.8.1", getArtifact("junit", res.getArtifacts()).getVersion(), "Check version");
            assertEquals(
                    Artifact.SCOPE_TEST, getArtifact("junit", res.getArtifacts()).getScope(), "Check artifactScope");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  2. internal/event/target/elasticsearch.go

    	if err == nil && exists {
    		res, err := c.Delete(
    			index,
    			key,
    			c.Delete.WithContext(ctx),
    		)
    		if err != nil {
    			return err
    		}
    		defer xhttp.DrainBody(res.Body)
    		if res.IsError() {
    			return fmt.Errorf("Delete err: %s", res.String())
    		}
    		return nil
    	}
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. internal/config/identity/openid/openid.go

    			} else {
    				kvsrc.Value = "off"
    			}
    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	if provCfg, exists := r.ProviderCfgs[cfgName]; exists && provCfg.RolePolicy != "" {
    		// Append roleARN
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   "roleARN",
    			Value: provCfg.roleArn.String(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. cmd/metacache-stream.go

    				return res, io.ErrUnexpectedEOF
    			}
    			return res, err
    		}
    
    		var err error
    		var name string
    		if name, err = r.mr.ReadString(); err != nil {
    			r.err = err
    			return res, err
    		}
    		if err = r.mr.Skip(); err != nil {
    			if err == io.EOF {
    				err = io.ErrUnexpectedEOF
    			}
    			r.err = err
    			return res, err
    		}
    		res = append(res, name)
    	}
    	return res, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. internal/s3select/sql/evaluate.go

    	res := make([]Value, len(e.Elements))
    	if len(e.Elements) == 1 {
    		// If length 1, treat as single value.
    		return e.Elements[0].evalNode(r, tableAlias)
    	}
    	for i, elt := range e.Elements {
    		v, err := elt.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    		res[i] = *v
    	}
    	return FromArray(res), nil
    }
    
    const floatCmpTolerance = 0.000001
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. cmd/kms-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	if res, err := json.Marshal(metrics); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    	} else {
    		writeSuccessResponseJSON(w, res)
    	}
    }
    
    // KMSAPIsHandler - GET /minio/kms/v1/apis
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. cmd/utils_test.go

    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    	res := jsonResult{}
    	if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil {
    		t.Fatal(err)
    	}
    
    	// Look for expected method.
    	if res.Method != http.MethodGet {
    		t.Fatalf("Unexpected method %s, expected 'GET'", res.Method)
    	}
    
    	// Look for expected query values
    	expectedQuery := url.Values{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                            final SuggestIndexResponse res = indexFromQueryLog(queryLogs.toArray(new QueryLog[queryLogs.size()]));
                            errors.addAll(res.getErrors());
                            numberOfSuggestDocs += res.getNumberOfSuggestDocs();
                            numberOfInputDocs += res.getNumberOfInputDocs();
                            queryLogs.clear();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    		close(results)
    		<-quitting
    	}()
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    				if time.Since(tracker.getLastUpdate()) > time.Minute {
    					healingLogIf(ctx, tracker.update(ctx))
    				}
    				continue
    			}
    
    			tracker.updateProgress(res.success, res.skipped, res.bytes)
    		}
    
    		healingLogIf(ctx, tracker.update(ctx))
    		close(quitting)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. cmd/erasure-metadata_test.go

    	}
    
    	mkTest := func(N, parity, agree int) (res struct {
    		metaArr  []FileInfo
    		errs     []error
    		parities []int
    		parity   int
    	},
    	) {
    		res.metaArr = mkMetaArr(N, parity, agree)
    		res.parities = mkParities(N, N-(N/2+1), parity, agree)
    		res.errs = make([]error, N)
    		if agree >= N/2+1 { // simple majority consensus
    			res.parity = N - (N/2 + 1)
    		} else {
    			res.parity = -1
    		}
    		return res
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top