Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 875 for channel2 (0.18 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/MultiChannelQueue.java

        private final Map<ChannelIdentifier, MultiEndPointQueue> channels = new HashMap<ChannelIdentifier, MultiEndPointQueue>();
        private final QueueInitializer initializer = new QueueInitializer();
    
        public MultiChannelQueue(Lock lock) {
            this.lock = lock;
        }
    
        public MultiEndPointQueue getChannel(ChannelIdentifier channel) {
            MultiEndPointQueue queue = channels.get(channel);
            if (queue == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md

         data_format=data_format)
    
        # Use the image size without space-to-depth transform as the input of conv0.
        batch_size, h, w, channel = inputs.get_shape().as_list()
        conv0.build([
         batch_size, h * space_to_depth_block_size, w * space_to_depth_block_size,
         channel // (space_to_depth_block_size**2)
        ])
    
        kernel = conv0.weights[0]
        # [7, 7, 3, 64] --> [8, 8, 3, 64]
    
        kernel = tf.pad(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Oct 24 02:51:43 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  3. test/chanlinear.go

    		if fails++; fails >= 5 {
    			panic(fmt.Sprintf("%s: too slow: %d channels: %v; %d channels: %v\n",
    				typ, n, t1, 2*n, t2))
    		}
    	}
    }
    
    func main() {
    	checkLinear("chanSelect", 1000, func(n int) {
    		const messages = 10
    		c := make(chan bool) // global channel
    		var a []chan bool    // local channels for each goroutine
    		for i := 0; i < n; i++ {
    			d := make(chan bool)
    			a = append(a, d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/AbstractWritableResultsStore.groovy

                        statement.setTimestamp(++idx, since)
                        List<String> channels = ['commits', 'experiments'].stream()
                            .collect { channel -> "${channel}${os.channelSuffix}-master".toString() }
                        statement.setString(++idx, channels.get(0))
                        statement.setString(++idx, channels.get(1))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/os/signal/signal.go

    package signal
    
    import (
    	"context"
    	"os"
    	"sync"
    )
    
    var handlers struct {
    	sync.Mutex
    	// Map a channel to the signals that should be sent to it.
    	m map[chan<- os.Signal]*handler
    	// Map a signal to the number of channels receiving it.
    	ref [numSig]int64
    	// Map channels to signals while the channel is being stopped.
    	// Not a map because entries live here only very briefly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. test/chan/select3.go

    	}
    }
    
    func main() {
    	const async = 1 // asynchronous channels
    	var nilch chan int
    	closedch := make(chan int)
    	close(closedch)
    
    	// sending/receiving from a nil channel blocks
    	testBlock(always, func() {
    		nilch <- 7
    	})
    	testBlock(always, func() {
    		<-nilch
    	})
    
    	// sending/receiving from a nil channel inside a select is never selected
    	testPanic(never, func() {
    		select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 08 02:10:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/locking/ExclusiveFileAccessManager.java

            FileChannel channel = null;
            try {
    
                long expiry = getTimeMillis() + timeoutMs;
                FileLock lock = null;
    
                while (lock == null && getTimeMillis() < expiry) {
                    randomAccessFile = new RandomAccessFile(lockFile, "rw");
                    channel = randomAccessFile.getChannel();
                    lock = channel.tryLock();
    
                    if (lock == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/under.go

    // If x and y are identical, match returns x.
    // If x and y are identical channels but for their direction
    // and one of them is unrestricted, match returns the channel
    // with the restricted direction.
    // In all other cases, match returns nil.
    func match(x, y Type) Type {
    	// Common case: we don't have channels.
    	if Identical(x, y) {
    		return x
    	}
    
    	// We may have channels that differ in direction only.
    	if x, _ := x.(*Chan); x != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 22:34:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    channel.truncate(0);
                    props.store(Channels.newOutputStream(channel), "Last modified on: " + new Date());
    
                    lock.release();
                    lock = null;
    
                    channel.close();
                    channel = null;
                } catch (IOException e) {
                    getLogger()
                            .debug(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. releasenotes/notes/release-channels.yaml

    Keith Mattix II <******@****.***> 1713823240 -0500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 22:00:40 UTC 2024
    - 261 bytes
    - Viewed (0)
Back to top