Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 858 for isSelect (0.17 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven3ScopeManagerConfiguration.java

                    select(CommonBuilds.PROJECT_PATH_TEST, CommonBuilds.BUILD_PATH_COMPILE),
                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_TEST_RUNTIME,
                    InternalScopeManager.Mode.ELIMINATE,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/waiting_pods_map.go

    	}
    
    	// Only signal success status after all plugins have allowed
    	if len(w.pendingPlugins) != 0 {
    		return
    	}
    
    	// The select clause works as a non-blocking send.
    	// If there is no receiver, it's a no-op (default case).
    	select {
    	case w.s <- framework.NewStatus(framework.Success, ""):
    	default:
    	}
    }
    
    // Reject declares the waiting pod unschedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    		defer close(drained)
    		wg.Wait()
    	}()
    
    	select {
    	case <-drained:
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Fatal("timed out waiting for watchers to be terminated")
    	}
    
    	stopChan := make(chan struct{})
    
    	// Set up loop to modify CRD in the background
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for {
    			select {
    			case <-stopChan:
    				return
    			default:
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/ready.go

    	if r.state == Stopped {
    		return
    	}
    	if ok && r.state == Pending {
    		r.state = Ready
    		r.generation++
    		select {
    		case <-r.waitCh:
    		default:
    			close(r.waitCh)
    		}
    	} else if !ok && r.state == Ready {
    		// creating the waitCh can be racy if
    		// something enter the wait() method
    		select {
    		case <-r.waitCh:
    			r.restartLock.Lock()
    			r.waitCh = make(chan struct{})
    			r.restartLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 13:32:11 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. test/chan/select4.go

    // license that can be found in the LICENSE file
    
    // Test that a select statement proceeds when a value is ready.
    
    package main
    
    func f() *int {
    	println("BUG: called f")
    	return new(int)
    }
    
    func main() {
    	var x struct {
    		a int
    	}
    	c := make(chan int, 1)
    	c1 := make(chan int)
    	c <- 42
    	select {
    	case *f() = <-c1:
    		// nothing
    	case x.a = <-c:
    		if x.a != 42 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 513 bytes
    - Viewed (0)
  6. src/go/printer/testdata/statements.golden

    	// bla
    	/* and more */
    	case 5:
    	}
    }
    
    // Formatting of selected select statements.
    func _() {
    	select {}
    	select { /* this comment should not be tab-aligned because the closing } is on the same line */
    	}
    	select {	/* this comment should be tab-aligned */
    	}
    	select {	// this comment should be tab-aligned
    	}
    	select {
    	case <-c:
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 12 18:18:12 UTC 2014
    - 8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

    // from PyTorch
    // %0 = compare{GT}(%lhs_value, %rhs_value)
    // %1 = select(%0, %lhs_value, %rhs_value)
    // %2 = compare{EQ}(%lhs_value, %rhs_value)
    // %3 = minimum(%lhs_index, %rhs_index)
    // %4 = select(%0, %lhs_index, %rhs_index)
    // %5 = select(%2, %3, %4)
    // return %1, %5
    LogicalResult MatchReduceToArgMinMaxType2(mhlo::ReduceOp reduce_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/internal/capabilities/ShadowedCapability.java

    /**
     * This special kind of capability is here only because of derived
     * variants: in case of platforms we want to make sure we can select
     * both the platform and library. For this we use different capabilities.
     * However, we still want to make sure we can select the platform component
     * whenever no explicit capability is required. In this case, and only in
     * this case, we use the "shadowed" capability to check.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 30 16:22:00 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. docs_src/sql_databases_peewee/sql_app/crud.py

        return list(models.User.select().offset(skip).limit(limit))
    
    
    def create_user(user: schemas.UserCreate):
        fake_hashed_password = user.password + "notreallyhashed"
        db_user = models.User(email=user.email, hashed_password=fake_hashed_password)
        db_user.save()
        return db_user
    
    
    def get_items(skip: int = 0, limit: int = 100):
        return list(models.Item.select().offset(skip).limit(limit))
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 843 bytes
    - Viewed (0)
  10. src/database/sql/example_test.go

    	age := 27
    	q := `
    create temp table uid (id bigint); -- Create temp table for queries.
    insert into uid
    select id from users where age < ?; -- Populate temp table.
    
    -- First result set.
    select
    	users.id, name
    from
    	users
    	join uid on users.id = uid.id
    ;
    
    -- Second result set.
    select 
    	ur.user, ur.role
    from
    	user_roles as ur
    	join uid on uid.id = ur.user
    ;
    	`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 28 14:05:09 UTC 2020
    - 8.5K bytes
    - Viewed (0)
Back to top