Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,703 for pselect (0.17 sec)

  1. tests/soft_delete_test.go

    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`SELECT .name. FROM user u WHERE .u.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Errorf("Table with escape character, got %v", sql)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

            failure.assertHasCause("""Module 'org:test' has been rejected:
       Cannot select module with conflict on capability 'org:test:1.0' also provided by [org:test:1.0(api), org:test:1.0(runtime)]""")
        }
    
        @Unroll("can select distinct variants of the same component by using different attributes with capabilities (conflict=#conflict)")
        void "can select distinct variants of the same component by using different attributes with capabilities"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistry.java

            @Override
            public PlatformToolProvider select(NativePlatformInternal targetPlatform) {
                return new UnavailablePlatformToolProvider(targetPlatform.getOperatingSystem(), failure);
            }
    
            @Override
            public PlatformToolProvider select(NativeLanguage sourceLanguage, NativePlatformInternal targetMachine) {
                return select(targetMachine);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. test/typeparam/chans.go

    // using the Release method.
    func (e *_Exclusive[Val]) TryAcquire() (v Val, ok bool) {
    	select {
    	case r := <-e.c:
    		return r, true
    	default:
    		return v, false
    	}
    }
    
    // Release updates and releases the value.
    // This method panics if the value has not been acquired.
    func (e *_Exclusive[Val]) Release(v Val) {
    	select {
    	case e.c <- v:
    	default:
    		panic("_Exclusive Release without Acquire")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

        private void addTOC(Document document) {
            Element tocSection = document.body().select("section.topic").first().before("<section class='table-of-contents'/>").previousElementSibling();
            tocSection.append("<h2>Table Of Contents</h2>");
            Element toc = tocSection.append("<ul class='toc'/>").children().last();
    
            Elements h23elements = document.select("h2,h3");
            for (Element h23element: h23elements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. test/typeparam/mdempsky/18.go

    // license that can be found in the LICENSE file.
    
    // Test that implicit conversions to interface type in a select/case
    // clause are compiled correctly.
    
    package main
    
    import "fmt"
    
    func main() { f[int]() }
    
    func f[T any]() {
    	ch := make(chan T)
    	close(ch)
    
    	var i, ok any
    	select {
    	case i, ok = <-ch:
    	}
    
    	fmt.Printf("%T %T\n", i, ok)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 29 19:33:57 UTC 2022
    - 457 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/NativeToolChainInternal.java

        /**
         * Same as {@link #select(NativeLanguage, NativePlatformInternal)} with language {@link NativeLanguage#ANY}.
         */
        @Override
        PlatformToolProvider select(NativePlatformInternal targetPlatform);
    
        /**
         * Locates the tools that can build binaries from the given source language that can run on the given target machine.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/deltaadstest.go

    			}
    			select {
    			case a.error <- err:
    			case <-a.context.Done():
    			}
    			return
    		}
    		select {
    		case a.responses <- resp:
    		case <-a.context.Done():
    			return
    		}
    	}
    }
    
    // DrainResponses reads all responses, but does nothing to them
    func (a *DeltaAdsTest) DrainResponses() {
    	a.t.Helper()
    	for {
    		select {
    		case <-a.context.Done():
    			return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy

                    module('org:testB:1.0')
                }
            }
    
            where:
            rule << [
                "select(candidates.find { it.id.module == 'testB'})",
                "select('org:testB:1.0')",
                "select('org:testB:1.1')", // we are lenient wrt to the version number
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:37:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesRulesIntegrationTest.groovy

                variant = 'default'
            }
            failure.assertHasCause("""Module 'cglib:cglib-nodep' has been rejected:
       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib:3.2.5($variant)]""")
            failure.assertHasCause("""Module 'cglib:cglib' has been rejected:
       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib-nodep:3.2.5($variant)]""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top