Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for newResp (0.1 sec)

  1. internal/grid/handlers.go

    // Use Call to initiate a clientside call.
    func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] {
    	s := SingleHandler[Req, Resp]{id: h}
    	s.newReq, s.recycleReq = recycleFunc[Req](newReq)
    	s.newResp, s.recycleResp = recycleFunc[Resp](newResp)
    	if _, ok := any(newReq()).(Recycler); ok {
    		s.callReuseReq = true
    	}
    	return &s
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. cmd/metrics.go

    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "online"),
    			"Total number of MinIO nodes online",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesUp),
    	)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "offline"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                    if (modified) {
                        List<Dependency> newDeps = new ArrayList<>(dependencies.size());
                        for (Dependency dep : model.getDependencies()) {
                            Object key = getDependencyKey().apply(dep);
                            Dependency dependency = dependencies.get(key);
                            newDeps.add(dependency);
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

    /**
     * Resolves conflicting artifacts by always selecting the newest declaration. Newest is defined as the
     * declaration whose version is greater according to <code>ArtifactVersion.compareTo</code>.
     *
     * @see ArtifactVersion#compareTo
     * @since 3.0
     */
    @Named("newest")
    @Singleton
    @Deprecated
    public class NewestConflictResolver implements ConflictResolver {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. ci/official/utilities/rename_and_verify_wheels.sh

      echo "More than one wheel file is present: moving the oldest to"
      echo "$TFCI_OUTPUT_DIR/extra_wheels."
      # List all .whl files by their modification time (ls -t) and move anything
      # other than the most recently-modified one (the newest one).
      mkdir -p $TFCI_OUTPUT_DIR/extra_wheels
      ls -t *.whl | tail -n +2 | xargs mv -t $TFCI_OUTPUT_DIR/extra_wheels
    fi
    
    # Repair wheels with auditwheel and delete the old one.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 21:18:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	if metric.Description.Type == histogramMetric {
    		if metric.Histogram == nil {
    			return
    		}
    		for k, v := range metric.Histogram {
    			pmetric, err := prometheus.NewConstMetric(
    				prometheus.NewDesc(
    					prometheus.BuildFQName(string(metric.Description.Namespace),
    						string(metric.Description.Subsystem),
    						string(metric.Description.Name)),
    					metric.Description.Help,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        }
    
        @Test
        @Disabled
        void testResolveCorrectDependenciesWhenDifferentDependenciesOnNewest()
                throws ArtifactResolutionException, InvalidVersionSpecificationException {
            // TODO use newest conflict resolver
            ArtifactSpec a = createArtifactSpec("a", "1.0");
            ArtifactSpec b = a.addDependency("b", "1.0");
            ArtifactSpec c2 = b.addDependency("c", "2.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. cmd/metrics-v3-types.go

    	return prometheus.BuildFQName(namePrefix, "", string(md.Name))
    }
    
    func (md *MetricDescriptor) toPromDesc(namePrefix string, extraLabels map[string]string) *prometheus.Desc {
    	return prometheus.NewDesc(
    		md.toPromName(namePrefix),
    		md.Help,
    		md.VariableLabels, extraLabels,
    	)
    }
    
    // NewCounterMD - creates a new counter metric descriptor.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    // to define Metric and  help string
    func newMinioResourceCollector(metricsGroups []*MetricsGroupV2) *minioResourceCollector {
    	return &minioResourceCollector{
    		metricsGroups: metricsGroups,
    		desc:          prometheus.NewDesc("minio_resource_stats", "Resource statistics exposed by MinIO server", nil, nil),
    	}
    }
    
    func prepareResourceMetrics(rm ResourceMetric, subSys MetricSubsystem, requireAvgMax bool) []MetricV2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top