Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 243 for RETURNING (0.13 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

        public static void main(String[] args) throws IOException {
            int exitCode = new MavenCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenCling(world).run(args);
        }
    
        public MavenCling() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Invokable.java

       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }</pre>
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    
      /** Explicitly specifies the return type of this {@code Invokable}. */
      public final <R1 extends R> Invokable<T, R1> returning(TypeToken<R1> returnType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

      @ExperimentalOkHttpApi
      companion object {
        const val TYPE_A = 1
        const val TYPE_AAAA = 28
    
        /**
         * Adapt an AsyncDns implementation to Dns, waiting until onComplete is received
         * and returning results if available.
         */
        fun toDns(vararg asyncDns: AsyncDns): Dns =
          Dns { hostname ->
            val allAddresses = mutableListOf<InetAddress>()
            val allExceptions = mutableListOf<IOException>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random RNG = new Random(82674067L);
      private static final int DATASET_SIZE = 1000;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  5. tests/update_test.go

    	}
    }
    
    // only sqlite, postgres, sqlserver support returning
    func TestUpdateReturning(t *testing.T) {
    	if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "sqlserver" {
    		return
    	}
    
    	users := []*User{
    		GetUser("update-returning-1", Config{}),
    		GetUser("update-returning-2", Config{}),
    		GetUser("update-returning-3", Config{}),
    	}
    	DB.Create(&users)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  6. internal/grid/README.md

            grid.PutByteBuffer(result)
            return nil
        })
    ```
    
    Context cancellation and timeouts are propagated to the handler. 
    The client does not wait for the remote handler to finish before returning.
    Returning any error will also cancel the stream remotely.
    
    CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. fastapi/routing.py

                Optional[int],
                Doc(
                    """
                    The default status code to be used for the response.
    
                    You could override the status code by returning a response directly.
    
                    Read more about it in the
                    [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).
                    """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenEncCling(world).run(args);
        }
    
        public MavenEncCling() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tests/gorm_test.go

    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    	case "mysql", "sqlserver":
    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    		// not enough data in buffer
    		n = avail
    		err = b.readErr()
    		if err == nil {
    			err = ErrBufferFull
    		}
    	}
    	return b.buf[b.r : b.r+n], err
    }
    
    // Discard skips the next n bytes, returning the number of bytes discarded.
    //
    // If Discard skips fewer than n bytes, it also returns an error.
    // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
    // reading from the underlying io.Reader.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top