Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 6,449 for _return (0.13 sec)

  1. guava/src/com/google/common/eventbus/DeadEvent.java

        this.event = checkNotNull(event);
      }
    
      /**
       * Returns the object that originated this event (not the object that originated the
       * wrapped event). This is generally an {@link EventBus}.
       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

     */
    @Experimental
    public interface ProjectManager extends Service {
        /**
         * Returns the path to the built project artifact file, if the project has been built.
         *
         * @return the path of the built project artifact
         */
        @Nonnull
        Optional<Path> getPath(Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for given project.
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

      public Stats xStats() {
        return xStats.snapshot();
      }
    
      /** Returns an immutable snapshot of the statistics on the {@code y} values alone. */
      public Stats yStats() {
        return yStats.snapshot();
      }
    
      /**
       * Returns the population covariance of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    	atomic.AddUint64(&s.s3OutputBytes, uint64(n))
    }
    
    // Return S3 total input bytes
    func (s *connStats) getS3InputBytes() uint64 {
    	return atomic.LoadUint64(&s.s3InputBytes)
    }
    
    // Return S3 total output bytes
    func (s *connStats) getS3OutputBytes() uint64 {
    	return atomic.LoadUint64(&s.s3OutputBytes)
    }
    
    // Return connection stats (total input/output bytes and total s3 input/output bytes)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers.go

    		}
    		if apiErr.HTTPStatusCode == http.StatusOK {
    			return nil
    		}
    		return apiErr
    	}
    	return nil
    }
    
    // GetObjectLambdaHandler - GET Object with transformed data via lambda functions
    // ----------
    // This implementation of the GET operation applies lambda functions and returns the
    // response generated via the lambda functions. To use this API, you must have READ access
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. cmd/hasher.go

    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
       * before and after a call to {@code remove(range)}. If {@code range.contains(k)}, then after a
       * call to {@code remove(range)}, {@code get(k)} will return {@code null}.
       */
      void remove(Range<K> range);
    
      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. internal/lock/lock.go

    	defer r.mutex.Unlock()
    
    	if r.refs == 0 {
    		return os.ErrInvalid
    	}
    
    	r.refs--
    	if r.refs == 0 {
    		err = r.File.Close()
    	}
    
    	return err
    }
    
    // Provides a new initialized read locked struct from *os.File
    func newRLockedFile(lkFile *LockedFile) (*RLockedFile, error) {
    	if lkFile == nil {
    		return nil, os.ErrInvalid
    	}
    
    	return &RLockedFile{
    		LockedFile: lkFile,
    		refs:       1,
    	}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.Max.Count)
    	if err != nil {
    		err = msgp.WrapError(err, "Max", "Count")
    		return
    	}
    	// write "Bytes"
    	err = en.Append(0xa5, 0x42, 0x79, 0x74, 0x65, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteFloat64(z.Max.Bytes)
    	if err != nil {
    		err = msgp.WrapError(err, "Max", "Bytes")
    		return
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

                    new SimpleDateFormat(forSnapshotTimestamp ? DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT : DEFAULT_DATE_FORMAT);
            fmt.setCalendar(new GregorianCalendar());
            fmt.setTimeZone(timezone);
            return fmt.format(date);
        }
    
        private static Metadata createMetadataFromArtifact(Artifact artifact) {
            Metadata metadata = new Metadata();
            metadata.setArtifactId(artifact.getArtifactId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top