Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 927 for Msync (0.14 sec)

  1. build/common.sh

    function kube::build::rsync_probe {
      # Wait until rsync is up and running.
      local tries=20
      while (( tries > 0 )) ; do
        if rsync "rsync://k8s@${1}:${2}/" \
             --password-file="${LOCAL_OUTPUT_BUILD_CONTEXT}/rsyncd.password" \
             &> /dev/null ; then
          return 0
        fi
        tries=$(( tries - 1))
        sleep 0.1
      done
    
      return 1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    			// Reset the timer for next interval
    			monitor.Reset(monitorInterval)
    		}
    	}
    }
    
    func (s *erasureSets) GetLockers(setIndex int) func() ([]dsync.NetLocker, string) {
    	return func() ([]dsync.NetLocker, string) {
    		lockers := make([]dsync.NetLocker, len(s.erasureLockers[setIndex]))
    		copy(lockers, s.erasureLockers[setIndex])
    		return lockers, s.erasureLockOwner
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  3. tests/test_dependency_contextmanager.py

    class OtherDependencyError(Exception):
        pass
    
    
    async def asyncgen_state(state: Dict[str, str] = Depends(get_state)):
        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         *            the readSize to set
         */
        public void setReadSize ( int readSize ) {
            this.readSize = readSize;
        }
    
    
        /**
         * @return the async
         */
        public boolean isAsync () {
            return this.async;
        }
    
    
        /**
         * @param command
         *            the command to set
         */
        @Override
        public final void setCommand ( int command ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go

    	// 'short' accounted ones.
    	calls := &sync.WaitGroup{}
    	calls.Add(AllowedNonMutatingInflightRequestsNo * 2)
    
    	// Responses is used to wait until all responses are
    	// received. This prevents some async requests getting EOF
    	// errors from prematurely closing the server
    	responses := &sync.WaitGroup{}
    	responses.Add(AllowedNonMutatingInflightRequestsNo * 2)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/sql-databases-peewee.md

    ```Python
    some_var.get()
    ```
    
    ### Set context variables in the `async` dependency `reset_db_state()`
    
    If some part of the async code sets the value with `some_var.set("updated in function")` (e.g. like the `async` dependency), the rest of the code in it and the code that goes after (including code inside of `async` functions called with `await`) will see that new value.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 16 13:23:25 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/crypto/tls/bogo_config.json

            "Basic-Client-NoTicket-TLS-Sync": "TODO: first pass, this should be fixed",
            "Basic-Server-RSA-TLS-Sync": "TODO: first pass, this should be fixed",
            "Basic-Client-NoTicket-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
            "Basic-Server-RSA-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 15:52:42 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/time/tick_test.go

    	drainAsync := func() {
    		if synctimerchan {
    			// sync timers must have the right semantics without draining:
    			// there are no stale values.
    			return
    		}
    
    		// async timers can send one stale value (then the timer is disabled).
    		drain1()
    		if isTicker {
    			// async tickers can send two stale values: there may be one
    			// sitting in the channel buffer, and there may also be one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    	return ies.loadMappedPolicy(ctx, name, userType, isGroup, m)
    }
    
    func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var p MappedPolicy
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

        }
    
        def "multiple threads can coordinate locking of a project"() {
            def threadCount = 10
            def started = new CountDownLatch(threadCount)
    
            when:
            async {
                threadCount.times {
                    start {
                        started.countDown()
                        thread.blockUntil.releaseAll
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top