Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 478 for pselect (0.14 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. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ModuleConflictResolver.java

    package org.gradle.api.internal.artifacts.ivyservice.resolveengine;
    
    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)
  3. 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)
  4. 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)
  5. 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)
  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