Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 272 for convErr (0.1 sec)

  1. docs/works_with_okhttp.md

     * [Hunter](https://github.com/Leaking/Hunter): Configure all OkHttpClients centrally.
     * ⬜️ [Moshi](https://github.com/square/moshi): A modern JSON library for Android and Java.
     * [Ok2Curl](https://github.com/mrmike/Ok2Curl): Convert OkHttp requests into curl logs.
     * [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jun 08 18:15:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. internal/s3select/json/record.go

    		SelectFormat: f,
    	}
    }
    
    // jsonFloat converts a float to string similar to Go stdlib formats json floats.
    func jsonFloat(f float64) string {
    	var tmp [32]byte
    	dst := tmp[:0]
    
    	// Convert as if by ES6 number to string conversion.
    	// This matches most other JSON generators.
    	// See golang.org/issue/6384 and golang.org/issue/14135.
    	// Like fmt %g, but the exponent cutoffs are different
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. internal/s3select/simdj/record.go

    	case simdjson.TypeInt:
    		v, err := iter.Int()
    		if err != nil {
    			return nil, err
    		}
    		return sql.FromInt(v), nil
    	case simdjson.TypeUint:
    		v, err := iter.Int()
    		if err != nil {
    			// Can't fit into int, convert to float.
    			v, err := iter.Float()
    			return sql.FromFloat(v), err
    		}
    		return sql.FromInt(v), nil
    	case simdjson.TypeBool:
    		v, err := iter.Bool()
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    import com.google.caliper.Param;
    import java.util.Random;
    
    /** Benchmarks for the hashing of UTF-8 strings. */
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

    import com.google.caliper.Param;
    import java.util.Random;
    
    /** Benchmarks for the hashing of UTF-8 strings. */
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            return new DefaultPluginXmlFactory().fromXmlString(xml);
        }
    
        /**
         * Simply converts the given content to an xml string.
         *
         * @param content the object to convert
         * @return the xml string representation
         * @throws XmlWriterException if an error occurs during the transformation
         * @see #fromXmlString(String)
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/evaluate.go

    func (e *In) evalInNode(r Record, lhs *Value, tableAlias string) (*Value, error) {
    	// Compare two values in terms of in-ness.
    	var cmp func(a, b Value) bool
    	cmp = func(a, b Value) bool {
    		// Convert if needed.
    		inferTypesForCmp(&a, &b)
    
    		if a.Equals(b) {
    			return true
    		}
    
    		// If elements, compare each.
    		aA, aOK := a.ToArray()
    		bA, bOK := b.ToArray()
    		if aOK && bOK {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "CastFailed",
    		message:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidCast(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidCast",
    		message:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		statusCode: 400,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. docs/site-replication/run-replication-with-checksum-header.sh

    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    # Function to convert number to corresponding alphabet
    num_to_alpha() {
    	local num=$1
    	# ASCII value of 'a' is 97, so we add (num - 1) to 97 to get the corresponding alphabet
    	local ascii_value=$((96 + num))
    	# Convert the ASCII value to the character using printf
    	printf "\\$(printf '%03o' "$ascii_value")"
    }
    
    cleanup
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 08:02:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	if actually != expected {
    		t.Fatalf("\nexpected: %s\nactually: %s", expected, actually)
    	}
    }
    
    func replaceQuoteInSQL(sql string) string {
    	// convert single quote into double quote
    	sql = strings.ReplaceAll(sql, `'`, `"`)
    
    	// convert dialect special quote into double quote
    	switch DB.Dialector.Name() {
    	case "postgres":
    		sql = strings.ReplaceAll(sql, `"`, `"`)
    	case "mysql", "sqlite":
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top