Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for getTotal (0.08 seconds)

  1. cmd/last-minute.go

    	l.forwardTo(sec)
    	winIdx := sec % 60
    	l.Totals[winIdx].merge(a)
    	l.LastSec = sec
    }
    
    // Merge all recorded latencies of last minute into one
    func (l *lastMinuteLatency) getTotal() AccElem {
    	var res AccElem
    	sec := time.Now().Unix()
    	l.forwardTo(sec)
    	for _, elem := range l.Totals[:] {
    		res.merge(elem)
    	}
    	return res
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Click Count (0)
  2. cmd/site-replication-metrics.go

    	if rt == nil {
    		return madmin.TimedErrStats{}
    	}
    	errCounts := make(map[string]int)
    	maps.Copy(errCounts, rt.ErrCounts)
    	minuteTotals := rt.LastMinute.getTotal()
    	hourTotals := rt.LastHour.getTotal()
    	return madmin.TimedErrStats{
    		LastMinute: madmin.RStat{
    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. cmd/metrics-v3-bucket-replication.go

    					m.Set(bucketReplProxiedGetRequestsFailures, float64(s.ProxyStats.GetFailedTotal), labels...)
    					m.Set(bucketReplProxiedGetRequestsTotal, float64(s.ProxyStats.GetTotal), labels...)
    					m.Set(bucketReplProxiedGetTaggingRequestsFailures, float64(s.ProxyStats.GetTagFailedTotal), labels...)
    					m.Set(bucketReplProxiedGetTaggingRequestsTotal, float64(s.ProxyStats.GetTagTotal), labels...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 04 20:45:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

            pluginArtifactId = mojoDescriptor.getPluginDescriptor().getArtifactId();
            pluginVersion = mojoDescriptor.getPluginDescriptor().getVersion();
            goal = mojoDescriptor.getGoal();
        }
    
        protected PluginManagerException(MojoDescriptor mojoDescriptor, MavenProject project, String message) {
            super(message);
            this.project = project;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/mapping/LifecyclePhaseTest.java

            assertEquals(2, mojos.size());
    
            LifecycleMojo mojo1 = mojos.get(0);
            assertNotNull(mojo1);
            assertEquals("jar:jar", mojo1.getGoal());
    
            LifecycleMojo mojo2 = mojos.get(1);
            assertNotNull(mojo2);
            assertEquals("war:war", mojo2.getGoal());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

            super(toMessage(goal, pluginDescriptor));
    
            this.goal = goal;
            this.pluginDescriptor = pluginDescriptor;
        }
    
        public String getGoal() {
            return goal;
        }
    
        public PluginDescriptor getPluginDescriptor() {
            return pluginDescriptor;
        }
    
        private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

                return mojoDescriptor.getPluginDescriptor().getVersion();
            }
    
            return plugin.getVersion();
        }
    
        public String getGoal() {
            if (mojoDescriptor != null) {
                return mojoDescriptor.getGoal();
            }
    
            return goal;
        }
    
        public void setMojoDescriptor(MojoDescriptor mojoDescriptor) {
            this.mojoDescriptor = mojoDescriptor;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
                        groupId = p[0];
                        artifactId = p[1];
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    GoalSpec gs = parseGoalSpec(mojo.getGoal());
    
                    if (gs == null) {
                        logger.warn(
                                "Ignored invalid goal specification '{}' from lifecycle mapping for phase {}",
                                mojo.getGoal(),
                                phase);
                        continue;
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecycleMojo.java

     *
     * @see LifecyclePhase
     */
    public class LifecycleMojo {
    
        private String goal;
        private XmlNode configuration;
        private List<Dependency> dependencies;
    
        public String getGoal() {
            return goal;
        }
    
        public XmlNode getConfiguration() {
            return configuration;
        }
    
        public List<Dependency> getDependencies() {
            return dependencies;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top