Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 401 for Convert (0.06 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

    /**
     * Various utilities for testing {@link HashFunction}s.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    final class HashTestUtils {
      private HashTestUtils() {}
    
      /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */
      static byte[] ascii(String string) {
        byte[] bytes = new byte[string.length()];
        for (int i = 0; i < string.length(); i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    		len(fi.Erasure.Distribution) == (dataBlocks+parityBlocks))
    	return ((dataBlocks >= parityBlocks) &&
    		(dataBlocks > 0) && (parityBlocks >= 0) &&
    		correctIndexes)
    }
    
    // ToObjectInfo - Converts metadata to object info.
    func (fi FileInfo) ToObjectInfo(bucket, object string, versioned bool) ObjectInfo {
    	object = decodeDirObject(object)
    	versionID := fi.VersionID
    	if versioned && versionID == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                            Item l = left.hasNext() ? left.next() : null;
                            Item r = right.hasNext() ? right.next() : null;
    
                            // if this is shorter, then invert the compare and mul with -1
                            int result = l == null ? (r == null ? 0 : -1 * r.compareTo(l)) : l.compareTo(r);
    
                            if (result != 0) {
                                return result;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    )
    
    // Converts underlying storage error. Convenience function written to
    // handle all cases where we have known types of errors returned by
    // underlying storage layer.
    func toObjectErr(oerr error, params ...string) error {
    	if oerr == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser_test.go

    		}
    	}
    }
    
    // TestParsePreSignV4 - Validates the parsing logic of Presignied v4 request from its url query values.
    func TestParsePreSignV4(t *testing.T) {
    	// converts the duration in seconds into string format.
    	getDurationStr := strconv.Itoa
    
    	// used in expected preSignValues, preSignValues.Date is of type time.Time .
    	queryTime := UTCNow()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arch.go

    	// Map of register names to enumeration.
    	Register map[string]int16
    	// Table of register prefix names. These are things like R for R(0) and SPR for SPR(268).
    	RegisterPrefix map[string]bool
    	// RegisterNumber converts R(10) into arm.REG_R10.
    	RegisterNumber func(string, int16) (int16, bool)
    	// Instruction is a jump.
    	IsJump func(word string) bool
    }
    
    // nilRegisterNumber is the register number function for architectures
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * 📝 Update docs. PR [#11603](https://github.com/tiangolo/fastapi/pull/11603) by [@alejsdev](https://github.com/alejsdev).
    * ✏️ Fix typo: convert every 're-use' to 'reuse'.. PR [#11598](https://github.com/tiangolo/fastapi/pull/11598) by [@hasansezertasan](https://github.com/hasansezertasan).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      /**
       * Returns a serializable converter object that converts between strings and floats using {@link
       * Float#valueOf} and {@link Float#toString()}.
       *
       * @since 16.0
       */
      public static Converter<String, Float> stringConverter() {
        return FloatConverter.INSTANCE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      /**
       * Returns a serializable converter object that converts between strings and doubles using {@link
       * Double#valueOf} and {@link Double#toString()}.
       *
       * @since 16.0
       */
      public static Converter<String, Double> stringConverter() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Floats.java

        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        private static final long serialVersionUID = 1;
      }
    
      /**
       * Returns a serializable converter object that converts between strings and floats using {@link
       * Float#valueOf} and {@link Float#toString()}.
       *
       * @since 16.0
       */
      public static Converter<String, Float> stringConverter() {
        return FloatConverter.INSTANCE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top