Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 627 for pselect (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPredicate.java

        }
    
        /**
         * Returns the parent path of the nodes to select, or null if parent is not relevant.
         *
         * <p>A node will be selected if its parent's path equals the specified path.
         */
        @Nullable
        public ModelPath getParent() {
            return null;
        }
    
        /**
         * Return the path of the scope of the nodes to select, or null if ancestor 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)
  5. 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)
  6. platforms/documentation/docs/src/snippets/swift/basic/groovy/build.gradle

            compileTask.get().compilerArgs.add '-O'
        }
    }
    // end::swift-compiler-options-per-variants[]
    
    // tag::swift-select-target-machines[]
    application {
        targetMachines = [
            machines.linux.x86_64,
            machines.macOS.x86_64
        ]
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml

                cpu: 123m
            overlays:
              - kind: Deployment
                name: istiod
                patches:
                  # Select list item by value
                  - path: spec.template.spec.containers.[name:discovery].args.[30m]
                    value: "60m" # OVERRIDDEN
                  # Select list item by key:value
                  - path: spec.template.spec.containers.[name:discovery].ports.[containerPort:8080].containerPort
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-profile/src/integTest/groovy/org/gradle/profile/ProfilingIntegrationTest.groovy

            then:
            def reportFile = findReport()
            Document document = Jsoup.parse(reportFile, null)
            !document.select("TD:contains(:jar)").isEmpty()
            !document.select("TD:contains(:a:jar)").isEmpty()
            !document.select("TD:contains(:b:jar)").isEmpty()
            !document.select("TD:contains(:c:jar)").isEmpty()
            document.text().contains("build fooTask")
            document.text().contains("-x barTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppToolChainTest.groovy

            windowsSdkLookup.available >> false
    		ucrtLookup.available >> false
    
            and:
            def result = toolChain.select(Stub(NativePlatformInternal))
    
            then:
            !result.available
            getMessage(result) == "vs install not found anywhere"
        }
    
        def "is not available when windows SDK cannot be located"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. tests/scopes_test.go

    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    		return db.WithContext(context.Background()).Table("users")
    	}
    	if err := DB.Scopes(userTable).Select("max(id)").Scan(&maxId).Error; err != nil {
    		t.Errorf("select max(id)")
    	}
    }
    
    func TestComplexScopes(t *testing.T) {
    	tests := []struct {
    		name     string
    		queryFn  func(tx *gorm.DB) *gorm.DB
    		expected string
    	}{
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top