Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for toRun (0.03 sec)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
    
        private static void scheduleEnableWrites(BlockingQueue<String> queue, long countdownInMillis) {
          Runnable toRun = new EnableWrites(queue, countdownInMillis);
          // TODO(cpovirk): automatically fail the test if this thread throws
          Thread enablerThread = new Thread(toRun);
          enablerThread.start();
        }
      }
    
      /** Manages a {@link BlockingQueue} and associated timings for a {@code take} call. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
    
        private static void scheduleEnableWrites(BlockingQueue<String> queue, long countdownInMillis) {
          Runnable toRun = new EnableWrites(queue, countdownInMillis);
          // TODO(cpovirk): automatically fail the test if this thread throws
          Thread enablerThread = new Thread(toRun);
          enablerThread.start();
        }
      }
    
      /** Manages a {@link BlockingQueue} and associated timings for a {@code take} call. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 30.9K bytes
    - Viewed (0)
  3. pkg/kube/krt/collection.go

    					Event: controllers.EventDelete,
    					Old:   ptr.Of(h.collectionState.inputs[i]),
    				}
    				toRun = append(toRun, e)
    			}
    		} else {
    			// Typically an EventUpdate should have Old and New. We only have New here.
    			// In practice, this is an internal surface only so we just make sure onPrimaryInputEvent handles this.
    			toRun = append(toRun, Event[I]{
    				Event: controllers.EventUpdate,
    				New:   iObj,
    			})
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. src/runtime/netpoll_solaris.go

    			// scanning error reporting once we are sure
    			// about the event port on SmartOS.
    			//
    			// See golang.org/x/issue/30840.
    			delta += netpollready(&toRun, pd, mode)
    		}
    	}
    
    	return toRun, delta
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/runtime/netpoll.go

    //
    //go:nowritebarrier
    func netpollready(toRun *gList, pd *pollDesc, mode int32) int32 {
    	delta := int32(0)
    	var rg, wg *g
    	if mode == 'r' || mode == 'r'+'w' {
    		rg = netpollunblock(pd, 'r', true, &delta)
    	}
    	if mode == 'w' || mode == 'r'+'w' {
    		wg = netpollunblock(pd, 'w', true, &delta)
    	}
    	if rg != nil {
    		toRun.push(rg)
    	}
    	if wg != nil {
    		toRun.push(wg)
    	}
    	return delta
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net_test.go

    	netServer := newNetServer(ztunnelServer, podNsMap, iptablesConfigurator, NewPodNetnsProcFinder(fakeFs()), set)
    
    	netServer.netnsRunner = func(fdable NetnsFd, toRun func() error) error {
    		return toRun()
    	}
    	netServer.Start(ctx)
    	return netTestFixture{
    		netServer:            netServer,
    		podNsMap:             podNsMap,
    		ztunnelServer:        ztunnelServer,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net.go

    	currentPodSnapshot   *podNetnsCache
    	iptablesConfigurator *iptables.IptablesConfigurator
    	podNs                PodNetnsFinder
    	// allow overriding for tests
    	netnsRunner        func(fdable NetnsFd, toRun func() error) error
    	hostsideProbeIPSet ipset.IPSet
    }
    
    var _ MeshDataplane = &NetServer{}
    
    func newNetServer(ztunnelServer ZtunnelServer, podNsMap *podNetnsCache,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top