Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 858 for isSelect (0.17 sec)

  1. test/goto.go

    	}
    }
    
    // select
    // different from switch.  the statement has no implicit block around it.
    
    func _() {
    L:
    	select {
    	case <-c:
    		goto L
    	}
    }
    
    func _() {
    L:
    	select {
    	case c <- 1:
    
    	default:
    		goto L
    	}
    }
    
    func _() {
    	select {
    	case <-c:
    
    	default:
    	L:
    		goto L
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 02:27:58 UTC 2017
    - 8.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. subprojects/core/src/main/resources/org/gradle/reporting/report.js

            tabs.tabs = findTabs(container);
            tabs.titles = findTitles(tabs.tabs);
            tabs.headers = findHeaders(container);
            tabs.select = select;
            tabs.deselectAll = deselectAll;
            tabs.select(0);
    
            return true;
        }
    
        function getCheckBox() {
            return document.getElementById("line-wrapping-toggle");
        }
    
        function getLabelForCheckBox() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 24 16:08:08 UTC 2014
    - 5.1K 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. subprojects/core-api/src/main/java/org/gradle/api/artifacts/component/ModuleComponentSelector.java

        /**
         * The group of the module to select the component from.
         *
         * @return Module group
         * @since 1.10
         */
        String getGroup();
    
        /**
         * The name of the module to select the component from.
         *
         * @return Module name
         */
        String getModule();
    
        /**
         * The version of the module to select the component from.
         *
         * @return Module version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:14:42 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top