Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 858 for isSelect (0.12 sec)

  1. pkg/ctrlz/ctrlz_test.go

    	"testing"
    	"time"
    )
    
    func TestStartStopEnabled(t *testing.T) {
    	server := startAndWaitForServer(t)
    	done := make(chan struct{}, 1)
    	go func() {
    		server.Close()
    		done <- struct{}{}
    	}()
    	select {
    	case <-done:
    	case <-time.After(5 * time.Second):
    		t.Fatal("Timed out waiting for listeningTestProbe to be called")
    	}
    }
    
    func TestSignals(t *testing.T) {
    	c := make(chan os.Signal, 1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. tests/benchmark_test.go

    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users where id = ?", user.ID).Scan(&u)
    	}
    }
    
    func BenchmarkScanSlice(b *testing.B) {
    	DB.Exec("delete from users")
    	for i := 0; i < 10_000; i++ {
    		user := *GetUser(fmt.Sprintf("scan-%d", i), Config{})
    		DB.Create(&user)
    	}
    
    	var u []User
    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users").Scan(&u)
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/main/webapp/js/profile.js

    $(function() {
      $('input[type="text"],select,textarea', ".login-box,section.content")
        .first()
        .focus();
      $(".form-group .has-error")
        .first()
        .next("input,select,textarea")
        .focus();
    
      $("section.content input").keypress(function(e) {
        var $submitButton;
        if (e.which === 13) {
          $submitButton = $("input#submit, button#submit");
          if ($submitButton.length > 0) {
            $submitButton[0].submit();
          }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ModuleConflictResolver.java

    public interface ModuleConflictResolver<T> {
        /**
         * Selects matching candidate. Returns null if this implementation of the resolver is not able to select a candidate.
         *
         * @param details the conflict resolution details
         */
        void select(ConflictResolverDetails<T> details);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 984 bytes
    - Viewed (0)
  5. internal/store/store.go

    			} else {
    				keyCount := len(names)
    				for i, name := range names {
    					select {
    					case keyCh <- Key{strings.TrimSuffix(name, store.Extension()), keyCount == i+1}:
    					// Get next key.
    					case <-doneCh:
    						return
    					}
    				}
    			}
    
    			select {
    			case <-retryTicker.C:
    			case <-doneCh:
    				return
    			}
    		}
    	}()
    
    	return keyCh
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 25 16:44:20 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/database/sql/example_service_test.go

    		}
    		w.WriteHeader(http.StatusOK)
    		return
    	case "/quick-action":
    		// This is a short SELECT. Use the request context as the base of
    		// the context timeout.
    		ctx, cancel := context.WithTimeout(r.Context(), 3*time.Second)
    		defer cancel()
    
    		id := 5
    		org := 10
    		var name string
    		err := db.QueryRowContext(ctx, `
    select
    	p.name
    from
    	people as p
    	join organization as o on p.organization = o.id
    where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:21:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. test/ken/chan.go

    	changeNproc(2)
    	go send(c)
    	go recv(c)
    }
    
    // direct send to select recv
    func test2(c int) {
    	ca := mkchan(c, 4)
    
    	changeNproc(4)
    	go send(ca[0])
    	go send(ca[1])
    	go send(ca[2])
    	go send(ca[3])
    
    	changeNproc(1)
    	go sel(ca[0], ca[1], ca[2], ca[3], nc, nc, nc, nc)
    }
    
    // select send to direct recv
    func test3(c int) {
    	ca := mkchan(c, 4)
    
    	changeNproc(4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcarchive/testdata/main5.c

    // signals when non-Go signals are raised.
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/time.h>
    #include <sys/select.h>
    
    #include "libgo2.h"
    
    int *nilp;
    
    int main(int argc, char** argv) {
    	int verbose;
    	int test;
    
    	if (argc < 2) {
    		printf("Missing argument\n");
    		return 1;
    	}
    
    	test = atoi(argv[1]);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPredicate.java

    public abstract class ModelPredicate {
        /**
         * Returns the path of the node to select, or null if path is not relevant.
         *
         * <p>A node will be selected if its path equals the specified path.
         */
        @Nullable
        public ModelPath getPath() {
            return null;
        }
    
        /**
         * Returns the parent path of the nodes to select, or null if parent is not relevant.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/debugging.md

    * "Add configuration...".
    * Select "Python"
    * Run the debugger with the option "`Python: Current File (Integrated Terminal)`".
    
    It will then start the server with your **FastAPI** code, stop at your breakpoints, etc.
    
    Here's how it might look:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    If you use Pycharm, you can:
    
    * Open the "Run" menu.
    * Select the option "Debug...".
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jun 22 17:04:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top