Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 288 for synchronized (0.12 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

        public int available() throws IOException {
          return (int) min(in.available(), left);
        }
    
        // it's okay to mark even if mark isn't supported, as reset won't work
        @Override
        public synchronized void mark(int readLimit) {
          in.mark(readLimit);
          mark = left;
        }
    
        @Override
        public int read() throws IOException {
          if (left == 0) {
            return -1;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. docs/en/docs/async.md

    As the execution time is consumed mostly by waiting for <abbr title="Input and Output">I/O</abbr> operations, they call them "I/O bound" operations.
    
    It's called "asynchronous" because the computer / program doesn't have to be "synchronized" with the slow task, waiting for the exact moment that the task finishes, while doing nothing, to be able to take the task result and continue the work.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                case 2:
                    md4.update(ntHash);
                    md4.digest(dest, offset, 16);
                    break;
                case 3:
                case 4:
                case 5:
                    synchronized ( this ) {
                        if ( this.clientChallenge == null ) {
                            this.clientChallenge = new byte[8];
                            tc.getConfig().getRandom().nextBytes(this.clientChallenge);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testOrderingUnmodifiable() {
        Multimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(Multimaps.unmodifiableMultimap(multimap));
      }
    
      @J2ktIncompatible // Synchronized
      public void testOrderingSynchronized() {
        Multimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(synchronizedMultimap(multimap));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        }
        static void writeUTime( long t, byte[] dst, int dstIndex ) {
            if( t == 0L || t == 0xFFFFFFFFFFFFFFFFL ) {
                writeInt4( 0xFFFFFFFF, dst, dstIndex );
                return;
            }
            synchronized( TZ ) {
                if( TZ.inDaylightTime( new Date() )) {
                    // in DST
                    if( TZ.inDaylightTime( new Date( t ))) {
                        // t also in DST so no correction
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        public org.apache.maven.api.plugin.descriptor.MojoDescriptor getMojoDescriptorV4() {
            if (mojoDescriptorV4 == null) {
                synchronized (this) {
                    if (mojoDescriptorV4 == null) {
                        mojoDescriptorV4 = org.apache.maven.api.plugin.descriptor.MojoDescriptor.newBuilder()
                                .goal(goal)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            // length == 0 should not happen
            return getUNCPath().length() <= 1;
        }
    
    
        /**
         * @throws MalformedURLException
         * 
         */
        private synchronized void canonicalizePath () {
            char[] in = this.url.getPath().toCharArray();
            char[] out = new char[in.length];
            int length = in.length, prefixLen = 0, state = 0;
    
            /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        protected String reportActiveExternalHost;
    
        protected boolean useEPSVwithIPv4;
    
        protected Boolean isImplicit;
    
        protected String trustManager;
    
        @Override
        public synchronized void init() {
            if (ftpAuthenticationHolder != null) {
                return;
            }
    
            super.init();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("synchronized ArrayListMultimap")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        protected int numberOfReplicas = 1;
    
        protected int idPrefixLength = 445;
    
        protected FesenClient getClient() {
            if (!fesenClient.connected()) {
                synchronized (fesenClient) {
                    if (!fesenClient.connected()) {
                        fesenClient.connect();
                    }
                }
            }
            return fesenClient;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top