Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2901 - 2910 of 5,478 for newA (0.03 seconds)

  1. cmd/last-minute.go

    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) add(t time.Duration) {
    	sec := time.Now().Unix()
    	l.forwardTo(sec)
    	winIdx := sec % 60
    	l.Totals[winIdx].add(t)
    	l.LastSec = sec
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) addAll(sec int64, a AccElem) {
    	l.forwardTo(sec)
    	winIdx := sec % 60
    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/dummy-data-generator_test.go

    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     *   <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li>
     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
     * }
     * </pre>
     *
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 6.8K bytes
    - Click Count (1)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
            if (bn instanceof Integer integer) {
                this.buildNumber = integer;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

    @GwtCompatible
    @NullMarked
    public class HashMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            MultisetTestSuiteBuilder.using(hashMultisetGenerator())
                .withFeatures(
                    CollectionSize.ANY,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

    ```
    
    ### Create your feature branch
    
    Before making code changes, make sure you create a separate branch for these changes
    
    ```
    git checkout -b my-new-feature
    ```
    
    ### Test MinIO server changes
    
    After your code changes, make sure
    
    - To add test cases for the new code. If you have questions about how to do it, please ask on our [Slack](https://slack.min.io) channel.
    - To run `make verifiers`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 05 18:35:53 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

            final int start = bufferIndex;
            if (len < 24) {
                throw new SMBProtocolDecodingException("Invalid resume key");
            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (3)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

    @GwtCompatible
    @NullMarked
    public abstract class TestStringSetGenerator implements TestSetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Set<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java

                        session.setCurrentProject(project);
                        projectBuilds.add(new ProjectSegment(project, taskSegment, session));
                    } finally {
                        session.setCurrentProject(currentProject);
                        Thread.currentThread().setContextClassLoader(tccl);
                    }
                }
            }
            return new ProjectBuildList(projectBuilds);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            return context.setUserProperties(userProperties).setSystemProperties(systemProperties);
        }
    
        protected void assertActivation(boolean active, Profile profile, ProfileActivationContext context) {
            SimpleProblemCollector problems = new SimpleProblemCollector();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top