Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for newResp (0.05 seconds)

  1. internal/grid/handlers.go

    	if newResp == nil {
    		panic("newResp missing in NewStream")
    	}
    
    	s := newStreamHandler[Payload, Req, Resp](h)
    	if newReq != nil {
    		s.reqPool.New = func() Req {
    			return newReq()
    		}
    	} else {
    		s.InCapacity = 0
    	}
    	s.respPool.New = func() Resp {
    		return newResp()
    	}
    	s.newPayload = newPayload
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  2. cmd/admin-handlers-idp-openid.go

    			continue
    		}
    		arn := dummyRoleARN
    		if config.RoleARN != "" {
    			arn = config.RoleARN
    		}
    		roleArnMap[arn] = config.Name
    		newResp := make(map[string]madmin.OpenIDUserAccessKeys)
    		cfgToUsersMap[config.Name] = newResp
    	}
    	if len(roleArnMap) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminNoSuchConfigTarget), r.URL)
    		return
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Sep 06 17:38:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. internal/grid/README.md

        }
    
        // Create a typed handler.
        // Due to current generics limitations, a constructor of the empty type must be provided.
        instance := grid.NewStream[*Payload, *Req, *Resp](h, newPayload, newReq, newResp)
    
        // Tweakable options
        instance.WithPayload = true // default true when newPayload != nil
        instance.OutCapacity = 1    // default
        instance.InCapacity = 1     // default true when newReq != nil
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. 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"),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. 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 {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    @Deprecated
    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. internal/lru/lru.go

    	}
    }
    
    // deleteExpired deletes expired records from the oldest bucket, waiting for the newest entry
    // in it to expire first.
    func (c *LRU[K, V]) deleteExpired() {
    	c.mu.Lock()
    	bucketIdx := c.nextCleanupBucket
    	timeToExpire := time.Until(c.buckets[bucketIdx].newestEntry)
    	// wait for newest entry to expire before cleanup without holding lock
    	if timeToExpire > 0 {
    		c.mu.Unlock()
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. 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.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Sep 22 21:39:32 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. 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,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  10. 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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
Back to Top