Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 369 for fslock (0.24 sec)

  1. internal/logger/target/http/http.go

    	// Wait for messages to be sent...
    	h.wg.Wait()
    
    	// Set logch to nil and close it.
    	// This will block all Send operations,
    	// and finish the existing ones.
    	// All future ones will be discarded.
    	h.logChMu.Lock()
    	xioutil.SafeClose(h.logCh)
    	h.logCh = nil
    	h.logChMu.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                } else {
                    usages.put(Thread.currentThread(), depth + 1);
                }
            } finally {
                lock.unlock();
            }
    
            try {
                runnable.run();
            } finally {
                lock.lock();
                try {
                    Integer depth = usages.remove(Thread.currentThread());
                    if (depth > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/crypto/aes/cipher.go

    		panic("crypto/aes: input not full block")
    	}
    	if len(dst) < BlockSize {
    		panic("crypto/aes: output not full block")
    	}
    	if alias.InexactOverlap(dst[:BlockSize], src[:BlockSize]) {
    		panic("crypto/aes: invalid buffer overlap")
    	}
    	encryptBlockGo(c.enc[:c.l], dst, src)
    }
    
    func (c *aesCipher) Decrypt(dst, src []byte) {
    	if len(src) < BlockSize {
    		panic("crypto/aes: input not full block")
    	}
    	if len(dst) < BlockSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

        @Override
        public void cancelBlockedRequests() {
            lock.lock();
            try {
                cancelled = true;
                condition.signalAll();
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public void assertComplete(Collection<Throwable> failures) throws AssertionError {
            lock.lock();
            try {
                if (state.isFailed()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/InterruptibleRunnable.java

            } finally {
                stateLock.unlock();
            }
        }
    
        public void interrupt() {
            stateLock.lock();
            try {
                if (thread == null) {
                    interrupted = true;
                } else {
                    thread.interrupt();
                }
            } finally {
                stateLock.unlock();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    }
    
    // Unlock unlocks the write lock.
    //
    // It is a run-time error if dm is not locked on entry to Unlock.
    func (dm *DRWMutex) Unlock(ctx context.Context) {
    	dm.m.Lock()
    	dm.cancelRefresh()
    	dm.m.Unlock()
    
    	restClnts, owner := dm.clnt.GetLockers()
    	// create temp array on stack
    	locks := make([]string, len(restClnts))
    
    	{
    		dm.m.Lock()
    		defer dm.m.Unlock()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func.go

    	Name   string      // e.g. NewFunc or (*Func).NumBlocks (no package prefix)
    	Type   *types.Type // type signature of the function.
    	Blocks []*Block    // unordered set of all basic blocks (note: not indexable by ID)
    	Entry  *Block      // the entry basic block
    
    	bid idAlloc // block ID allocator
    	vid idAlloc // value ID allocator
    
    	HTMLWriter     *HTMLWriter    // html writer, for debugging
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/sds/sdsservice.go

    	w.Lock()
    	defer w.Unlock()
    	w.watch = nil
    }
    
    func (w *Watch) GetWatchedResource(string) *xds.WatchedResource {
    	w.Lock()
    	defer w.Unlock()
    	return w.watch
    }
    
    func (w *Watch) NewWatchedResource(typeURL string, names []string) {
    	w.Lock()
    	defer w.Unlock()
    	w.watch = &xds.WatchedResource{TypeUrl: typeURL, ResourceNames: names}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. hack/tools/go.mod

    	github.com/go-toolsmith/typep v1.1.0 // indirect
    	github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
    	github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect
    	github.com/gobwas/glob v0.2.3 // indirect
    	github.com/gofrs/flock v0.8.1 // indirect
    	github.com/golang/protobuf v1.5.3 // indirect
    	github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 // indirect
    	github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go

    func (m *PathRecorderMux) NotFoundHandler(notFoundHandler http.Handler) {
    	m.lock.Lock()
    	defer m.lock.Unlock()
    
    	m.notFoundHandler = notFoundHandler
    
    	m.refreshMuxLocked()
    }
    
    // Unregister removes a path from the mux.
    func (m *PathRecorderMux) Unregister(path string) {
    	m.lock.Lock()
    	defer m.lock.Unlock()
    
    	delete(m.pathToHandler, path)
    	delete(m.prefixToHandler, path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 01:52:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top