Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 7,250 for return (0.05 sec)

  1. cmd/bucket-replication-metrics.go

    		sma:     newSMA(50),
    	}
    }
    
    func (rx *XferStats) String() string {
    	return fmt.Sprintf("curr=%f avg=%f, peak=%f", rx.curr(), rx.Avg, rx.Peak)
    }
    
    func (rx *XferStats) curr() float64 {
    	if rx.measure == nil {
    		return 0.0
    	}
    	return rx.measure.getExpMovingAvgBytesPerSecond()
    }
    
    func (rx *XferStats) merge(o XferStats) XferStats {
    	curr := calcAvg(rx.curr(), o.curr(), rx.N, o.N)
    	peak := rx.Peak
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullKeyAndValueSupported() {
        assertNull("put(null, null) should return null", put(nullKeyValueEntry));
        expectAdded(nullKeyValueEntry);
      }
    
      @CanIgnoreReturnValue
      private V put(Entry<K, V> entry) {
        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. internal/ioutil/read_file.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	dst := make([]byte, st.Size())
    	_, err = io.ReadFull(f, dst)
    	return dst, st, err
    }
    
    // ReadFile reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // passes NOATIME flag for reads on Unix systems to avoid atime updates.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 09 18:17:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

        /**
         * 
         */
        private SmbCopyUtil () {}
    
    
        /**
         * @param dest
         * @return
         * @throws SmbException
         * @throws SmbAuthException
         */
        static SmbFileHandleImpl openCopyTargetFile ( SmbFile dest, int attrs, boolean alsoRead ) throws CIFSException {
            try {
                return dest.openUnshared(
                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.poll();
        }
    
        @Override
        public E remove() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove();
        }
    
        @Override
        public boolean remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove(object);
        }
    
        @Override
        public @Nullable E peek() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

            delegate = new MetadataStaxReader(contentTransformer::transform);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean a field value
         */
        public boolean getAddDefaultEntities() {
            return delegate.getAddDefaultEntities();
        }
    
        /**
         * Sets the state of the "add default entities" flag.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arch.go

    		return archArm()
    	case "arm64":
    		return archArm64()
    	case "loong64":
    		return archLoong64(&loong64.Linkloong64)
    	case "mips":
    		return archMips(&mips.Linkmips)
    	case "mipsle":
    		return archMips(&mips.Linkmipsle)
    	case "mips64":
    		return archMips64(&mips.Linkmips64)
    	case "mips64le":
    		return archMips64(&mips.Linkmips64le)
    	case "ppc64":
    		return archPPC64(&ppc64.Linkppc64)
    	case "ppc64le":
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java

        public boolean hasAggregations() {
            return aggregationAggregationBuilderList != null && !aggregationAggregationBuilderList.isEmpty();
        }
    
        public List<AbstractAggregationBuilder<?>> getAggregationBuilderList() {
            return aggregationAggregationBuilderList != null ? aggregationAggregationBuilderList : Collections.emptyList();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top