Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 326 for synchronize (0.15 seconds)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                this.fp = 0L;
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            // ensure file is open
            if (this.handle == null || !this.handle.isValid()) {
                // one extra acquire to keep this open till the stream is released
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

        }
    
        @Test
        public void test_evaluate_concurrency() {
            queryRescorer = new QueryRescorer() {
                private int callCount = 0;
    
                @Override
                public synchronized RescorerBuilder<?> evaluate(Map<String, Object> params) {
                    callCount++;
                    if (callCount % 2 == 0) {
                        return createMockRescorerBuilder();
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      }
    
      static class DecoupledClassLoader extends URLClassLoader {
    
        public DecoupledClassLoader(URL[] urls) {
          super(urls);
        }
    
        @Override
        protected synchronized Class<?> loadClass(String name, boolean resolve)
            throws ClassNotFoundException {
          // Force Finalizer to load from this class loader, not its parent.
          if (name.equals(Finalizer.class.getName())) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      }
    
      private static class TestApplication extends Application {
        private final List<Thread> hooks = new ArrayList<>();
    
        @Override
        synchronized void addShutdownHook(Thread hook) {
          hooks.add(hook);
        }
    
        synchronized void shutdown() throws InterruptedException {
          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. docs/smb3-features/01-smb3-lease-design.md

                this.epoch = 1;
                this.breaking = false;
            }
            
            public synchronized void updateState(int newState) {
                this.leaseState = newState;
                this.lastAccessTime = System.currentTimeMillis();
            }
            
            public synchronized void incrementEpoch() {
                this.epoch++;
            }
            
            public boolean hasReadCache() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

            toArrayCalled = true;
            return super.toArray(a);
          }
        }
    
        // Test that toArray() is used to make a defensive copy in copyOf(), so concurrently modified
        // synchronized collections can be safely copied.
        TestArrayList<String> toCopy = new TestArrayList<>();
        ImmutableSortedMultiset<String> unused =
            ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                                synchronized (project) {
                                    cleanProjectLocalRepository(project);
                                }
                            }
                        }
                    }
                    break;
                case ProjectSucceeded:
                case ForkedProjectSucceeded:
                    synchronized (project) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
                destroyContainer();
            }
    
            System.exit(exitCode);
        }
    
        private static void destroyContainer() {
            TimeoutManager.getInstance().stop();
            synchronized (SingletonLaContainerFactory.class) {
                SingletonLaContainerFactory.destroy();
            }
        }
    
        private static int process(final Options options) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
        }
    
        protected synchronized void initDocUrlPattern() {
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            if (includedDocUrlPatterns == null) {
                if (StringUtil.isNotBlank(getIncludedDocUrls())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/DfsTest.java

                    throws SmbAuthException {
                if (disabled)
                    return null;
                return super.getReferral(trans, domain, root, path, auth);
            }
    
            @Override
            public synchronized DfsReferral resolve(String domain, String root, String path, NtlmPasswordAuthentication auth)
                    throws SmbAuthException {
                if (disabled || root.equals("IPC$")) {
                    return null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top