Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 624 for pselect (0.45 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

                }
                failure.assertHasCause("""Module 'org.apache:groovy' has been rejected:
       Cannot select module with conflict on capability 'org.apache:groovy:1.0' also provided by [org.apache:groovy-all:1.0($variant)]""")
                failure.assertHasCause("""Module 'org.apache:groovy-json' has been rejected:
       Cannot select module with conflict on capability 'org.apache:groovy-json:1.0' also provided by [org.apache:groovy-all:1.0($variant)]""")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    			drain1()
    		}
    	}
    	noTick := func() {
    		t.Helper()
    		select {
    		default:
    		case <-C:
    			t.Errorf("extra tick")
    		}
    	}
    	assertTick := func() {
    		t.Helper()
    		select {
    		default:
    		case <-C:
    			return
    		}
    		for range tries {
    			Sleep(sched)
    			select {
    			default:
    			case <-C:
    				return
    			}
    		}
    		t.Errorf("missing tick")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy

            input == true
        }
    
        def "can ask select question"() {
            when:
            def input = ask { it.selectOption("select option", [11, 12, 13], 12) }
    
            then:
            1 * outputEventBroadcaster.onOutput(_ as UserInputRequestEvent)
            1 * outputEventBroadcaster.onOutput(_) >> { SelectOptionPromptEvent event ->
                assert event.question == "select option"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/runtime/chan.go

    //  At least one of c.sendq and c.recvq is empty,
    //  except for the case of an unbuffered channel with a single goroutine
    //  blocked on it for both sending and receiving using a select statement,
    //  in which case the length of c.sendq and c.recvq is limited only by the
    //  size of the select statement.
    //
    // For buffered channels, also:
    //  c.qcount > 0 implies that c.recvq is empty.
    //  c.qcount < c.dataqsiz implies that c.sendq is empty.
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. src/internal/trace/oldtrace.go

    	addBuiltin(sChanSend, "chan send")
    	addBuiltin(sChanRecv, "chan receive")
    	addBuiltin(sNetwork, "network")
    	addBuiltin(sSync, "sync")
    	addBuiltin(sSyncCond, "sync.(*Cond).Wait")
    	addBuiltin(sSelect, "select")
    	addBuiltin(sEmpty, "")
    	addBuiltin(sMarkAssistWait, "GC mark assist wait for work")
    	addBuiltin(sSTWUnknown, "")
    	addBuiltin(sSTWGCMarkTermination, "GC mark termination")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/context/x_test.go

    		}
    		if e := c.Err(); e != nil {
    			t.Errorf("c[%d].Err() == %v want nil", i, e)
    		}
    
    		select {
    		case x := <-c.Done():
    			t.Errorf("<-c.Done() == %v want nothing (it should block)", x)
    		default:
    		}
    	}
    
    	cancel() // Should propagate synchronously.
    	for i, c := range contexts {
    		select {
    		case <-c.Done():
    		default:
    			t.Errorf("<-c[%d].Done() blocked, but shouldn't have", i)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. tests/joins_test.go

    	if !regexp.MustCompile("SELECT .* FROM .users. left join pets.*join accounts.*").MatchString(stmt.SQL.String()) {
    		t.Errorf("joins should be ordered, but got %v", stmt.SQL.String())
    	}
    
    	iv := DB.Table(`table_invoices`).Select(`seller, SUM(total) as total, SUM(paid) as paid, SUM(balance) as balance`).Group(`seller`)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. hack/update-vendor.sh

        # unused transitive dependency we had a require directive for,
        # and prevents pruning the matching replace directive after tidying.
        go list -m -json all |
          jq -r 'select(.Replace != null) |
                 select(.Path == .Replace.Path) |
                 select(.Version == .Replace.Version) |
                 "-dropreplace \(.Replace.Path)"' |
        xargs -L 100 go mod edit -fmt
    
        go mod tidy -v
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256.go

    	q.x.Set(x3)
    	q.y.Set(y3)
    	q.z.Set(z3)
    	return q
    }
    
    // Select sets q to p1 if cond == 1, and to p2 if cond == 0.
    func (q *P256Point) Select(p1, p2 *P256Point, cond int) *P256Point {
    	q.x.Select(p1.x, p2.x, cond)
    	q.y.Select(p1.y, p2.y, cond)
    	q.z.Select(p1.z, p2.z, cond)
    	return q
    }
    
    // A p256Table holds the first 15 multiples of a point at offset -1, so [1]P
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	var age int64
    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 10 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    
    	table := "gorm.users"
    	if DB.Dialector.Name() != "mysql" || isTiDB() {
    		table = "users" // other databases doesn't support select with `database.table`
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top