Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 311 for Convert (0.04 seconds)

  1. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
     *       service to a {@link ListeningExecutorService}, usually by calling {@link
     *       MoreExecutors#listeningDecorator(java.util.concurrent.ExecutorService)
     *       MoreExecutors.listeningDecorator}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. internal/etag/etag_test.go

    }
    
    func TestFromContentMD5(t *testing.T) {
    	for i, test := range fromContentMD5Tests {
    		ETag, err := FromContentMD5(test.Header)
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: failed to convert Content-MD5 to ETag: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    		}
    		if err == nil {
    			if !Equal(ETag, test.ETag) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/net/InetAddresses.java

        int hextet = 0;
        for (int i = start; i < end; i++) {
          hextet = hextet << 4;
          hextet |= Character.digit(ipString.charAt(i), 16);
        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  4. gradlew

    # For Cygwin or MSYS, switch paths to Windows format before running java
    if "$cygwin" || "$msys" ; then
        APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
    
        JAVACMD=$( cygpath --unix "$JAVACMD" )
    
        # Now convert the arguments - kludge to limit ourselves to /bin/sh
        for arg do
            if
                case $arg in                                #(
                  -*)   false ;;                            # don't mess with options #(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Sep 18 20:55:41 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/body.md

    ...and declare its type as the model you created, `Item`.
    
    ## Results { #results }
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
        * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/primitives/UnsignedLong.java

        // The top bit is set, which means that the double value is going to come from the top 53 bits.
        // So we can ignore the bottom 11, except for rounding. We can unsigned-shift right 1, aka
        // unsigned-divide by 2, and convert that. Then we'll get exactly half of the desired double
        // value. But in the specific case where the bottom two bits of the original number are 01, we
        // want to replace that with 1 in the shifted value for correct rounding.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

        int hextet = 0;
        for (int i = start; i < end; i++) {
          hextet = hextet << 4;
          hextet |= Character.digit(ipString.charAt(i), 16);
        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        /**
         * Creates a new InputLocation from an API model InputLocation.
         * This constructor is used for converting between the API model and the compat model.
         *
         * @param location the API model InputLocation to convert from
         */
        public InputLocation(org.apache.maven.api.model.InputLocation location) {
            this.lineNumber = location.getLineNumber();
            this.columnNumber = location.getColumnNumber();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * create {@code ListenableFuture} instances depends on how you currently create {@code Future}
     * instances:
     *
     * <ul>
     *   <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert that
     *       service to a {@link ListeningExecutorService}, usually by calling {@link
     *       MoreExecutors#listeningDecorator(java.util.concurrent.ExecutorService)
     *       MoreExecutors.listeningDecorator}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. callbacks/update.go

    				if i, ok := value.(AfterSaveInterface); ok {
    					called = true
    					db.AddError(i.AfterSave(tx))
    				}
    			}
    
    			return called
    		})
    	}
    }
    
    // ConvertToAssignments convert to update assignments
    func ConvertToAssignments(stmt *gorm.Statement) (set clause.Set) {
    	var (
    		selectColumns, restricted = stmt.SelectAndOmitColumns(false, true)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top