Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 183 for choosing (0.66 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaries.java

            // We can't just assign the toolchain here because the initializer would be closing over the toolchain which is not reusable, and this breaks model reuse.
            // So here we are just closing over the safely reusable things and then using proper dependencies for the tool chain registry.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/workload_manager.go

    			newWorkloads = append(newWorkloads, w)
    		}
    	}
    
    	m.workloads = newWorkloads
    	return err
    }
    
    func (m *workloadManager) Close() (err error) {
    	m.mutex.Lock()
    
    	// Indicate we're closing.
    	m.closing = true
    
    	// Stop the controller and queue.
    	close(m.stopCh)
    
    	// Clear out the workloads array
    	workloads := m.workloads
    	m.workloads = nil
    
    	m.mutex.Unlock()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique] package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 566 bytes
    - Viewed (0)
  4. test/fixedbugs/issue33386.go

    // license that can be found in the LICENSE file.
    
    // Verify that we don't get spurious follow-on errors
    // after a missing expression. Specifically, the parser
    // shouldn't skip over closing parentheses of any kind.
    
    package p
    
    func _() {
    	go func() {     // no error here about goroutine
    		send <- // GCCGO_ERROR "undefined name"
    	}()             // ERROR "expected expression|expected operand"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 01 22:37:04 UTC 2022
    - 953 bytes
    - Viewed (0)
  5. test/fixedbugs/issue15611.go

    package p
    
    // These error messages are for the invalid literals on lines 19 and 20:
    
    // ERROR "newline in character literal|newline in rune literal"
    // ERROR "invalid character literal \(missing closing '\)|rune literal not terminated"
    
    const (
    	_ = ''     // ERROR "empty character literal or unescaped ' in character literal|empty rune literal"
    	_ = 'f'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 00:40:38 UTC 2020
    - 685 bytes
    - Viewed (0)
  6. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/messaging/WorkerConfigSerializer.java

            } finally {
                if (in != null) {
                    try {
                        in.close();
                    } catch (IOException e) {
                        LOGGER.debug("Error closing ObjectInputStream", e);
                    }
                }
            }
        }
    
        private static byte[] serializeWorker(Action<? super WorkerProcessContext> action) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidJvmInstallationCacheInvalidatorTest.groovy

     */
    
    package org.gradle.internal.jvm.inspection
    
    import spock.lang.Specification
    
    import java.util.function.Predicate
    
    class InvalidJvmInstallationCacheInvalidatorTest extends Specification {
        def 'closing triggers cache invalidation'() {
            def cache = Mock(ConditionalInvalidation<JvmInstallationMetadata>)
    
            given:
            def invalidator = new InvalidJvmInstallationCacheInvalidator(cache)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go

    type DevicePlugin interface {
    	API() api.DevicePluginClient
    	Resource() string
    	SocketPath() string
    }
    
    // Client interface provides methods for establishing/closing gRPC connection and running the device plugin gRPC client.
    type Client interface {
    	Connect() error
    	Run()
    	Disconnect() error
    }
    
    type client struct {
    	mutex    sync.Mutex
    	resource string
    	socket   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:35:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/internal/filelock/filelock.go

    // lock on the file until this process exits, closes f, or calls Unlock on it.
    //
    // If f's descriptor is already read- or write-locked, the behavior of Lock is
    // unspecified.
    //
    // Closing the file may or may not release the lock promptly. Callers should
    // ensure that Unlock is always called when Lock succeeds.
    func Lock(f File) error {
    	return lock(f, writeLock)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/watch/streamwatcher.go

    	return sw.result
    }
    
    // Stop implements Interface.
    func (sw *StreamWatcher) Stop() {
    	// Call Close() exactly once by locking and setting a flag.
    	sw.Lock()
    	defer sw.Unlock()
    	// closing a closed channel always panics, therefore check before closing
    	select {
    	case <-sw.done:
    	default:
    		close(sw.done)
    		sw.source.Close()
    	}
    }
    
    // receive reads result from the decoder in a loop and sends down the result channel.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 06 13:42:59 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top