Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for readPom (0.1 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
            File pom = getPom("simple");
    
            String originalExists =
                    readPom(pom).getProfiles().get(1).getActivation().getFile().getExists();
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(pom);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. internal/disk/stat_test.go

    	}{
    		{
    			stat: "1432553   420084 66247626  2398227  7077314  8720147 157049224  7469810        0  7580552  9869354    46037        0 41695120     1315        0        0",
    			expectedIOStats: IOStats{
    				ReadIOs:        1432553,
    				ReadMerges:     420084,
    				ReadSectors:    66247626,
    				ReadTicks:      2398227,
    				WriteIOs:       7077314,
    				WriteMerges:    8720147,
    				WriteSectors:   157049224,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    		cachevalue.Opts{ReturnLastGood: true},
    		loadHealth,
    	)
    }
    
    func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats {
    	return madmin.DiskIOStats{
    		ReadIOs:      currentStats.ReadIOs - initialStats.ReadIOs,
    		WriteIOs:     currentStats.WriteIOs - initialStats.WriteIOs,
    		ReadSectors:  currentStats.ReadSectors - initialStats.ReadSectors,
    		WriteSectors: currentStats.WriteSectors - initialStats.WriteSectors,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. internal/http/response-recorder.go

    var ErrNotImplemented = errors.New("not implemented")
    
    // ReadFrom implements support for calling internal io.ReaderFrom implementations
    // returns an error if the underlying ResponseWriter does not implement io.ReaderFrom
    func (lrw *ResponseRecorder) ReadFrom(r io.Reader) (int64, error) {
    	if lrw.ReaderFrom != nil {
    		n, err := lrw.ReaderFrom.ReadFrom(r)
    		lrw.bytesWritten += int(n)
    		return n, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. cmd/metrics-realtime.go

    				if v.Count != 0 {
    					dm.LastMinute.Operations[k] = v
    				}
    			}
    		}
    
    		st, err := disk.GetDriveStats(d.Major, d.Minor)
    		if err == nil {
    			dm.IOStats = madmin.DiskIOStats{
    				ReadIOs:        st.ReadIOs,
    				ReadMerges:     st.ReadMerges,
    				ReadSectors:    st.ReadSectors,
    				ReadTicks:      st.ReadTicks,
    				WriteIOs:       st.WriteIOs,
    				WriteMerges:    st.WriteMerges,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    	updateResourceMetrics(driveSubsystem, writesKBPerSec, writeKib/diffInSeconds, labels, false)
    
    	rdAwait := 0.0
    	if diffStats.ReadIOs > 0 {
    		rdAwait = float64(diffStats.ReadTicks) / float64(diffStats.ReadIOs)
    	}
    	updateResourceMetrics(driveSubsystem, readsAwait, rdAwait, labels, false)
    
    	wrAwait := 0.0
    	if diffStats.WriteIOs > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

     * has not actually been put in the {@code BloomFilter}.
     *
     * <p>Bloom filters are serializable. They also support a more compact serial representation via the
     * {@link #writeTo} and {@link #readFrom} methods. Both serialized forms will continue to be
     * supported by future versions of this library. However, serial forms generated by newer versions
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/Stats.java

        checkNotNull(byteArray);
        checkArgument(
            byteArray.length == BYTES,
            "Expected Stats.BYTES = %s remaining , got %s",
            BYTES,
            byteArray.length);
        return readFrom(ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN));
      }
    
      /**
       * Creates a Stats instance from the byte representation read from the given {@link ByteBuffer}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil.go

    	return s.Reader.Read(p)
    }
    
    // NewSkipReader - creates a SkipReader
    func NewSkipReader(r io.Reader, n int64) io.Reader {
    	return &SkipReader{r, n}
    }
    
    // writerOnly hides an io.Writer value's optional ReadFrom method
    // from io.Copy.
    type writerOnly struct {
    	io.Writer
    }
    
    // Copy is exactly like io.Copy but with reusable buffers.
    func Copy(dst io.Writer, src io.Reader) (written int64, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          bf.put(Ints.toByteArray(i));
        }
    
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        bf.writeTo(out);
    
        BloomFilter<byte[]> read =
            BloomFilter.readFrom(new ByteArrayInputStream(out.toByteArray()), funnel);
        assertThat(read).isEqualTo(bf);
        assertThat(read.expectedFpp()).isGreaterThan(0);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top