Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2321 - 2330 of 6,918 for RETURN (0.04 sec)

  1. internal/store/batch.go

    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    		// commit batch to store
    		if err := b.commit(); err != nil {
    			return err
    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    func (b *Batch[_]) Len() int {
    	b.Lock()
    	defer b.Unlock()
    
    	return len(b.items)
    }
    
    func (b *Batch[_]) isFull() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        final int characteristics() {
          return spliterator.characteristics();
        }
    
        final long estimateSize() {
          return spliterator.estimateSize();
        }
    
        final Comparator<? super E> getComparator() {
          return spliterator.getComparator();
        }
    
        final long getExactSizeIfKnown() {
          return spliterator.getExactSizeIfKnown();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        final int characteristics() {
          return spliterator.characteristics();
        }
    
        final long estimateSize() {
          return spliterator.estimateSize();
        }
    
        final Comparator<? super E> getComparator() {
          return spliterator.getComparator();
        }
    
        final long getExactSizeIfKnown() {
          return spliterator.getExactSizeIfKnown();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Futures.java

        checkNotNull(function);
        return new Future<O>() {
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
            return input.cancel(mayInterruptIfRunning);
          }
    
          @Override
          public boolean isCancelled() {
            return input.isCancelled();
          }
    
          @Override
          public boolean isDone() {
            return input.isDone();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        public Authentication getAuthentication() {
            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
            if (Constants.DIGEST.equals(scheme)) {
                return new DigestScheme();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/MapIteratorCache.java

        if (value == null) {
          return getWithoutCaching(key);
        } else {
          return value;
        }
      }
    
      @CheckForNull
      final V getWithoutCaching(Object key) {
        checkNotNull(key);
        return backingMap.get(key);
      }
    
      final boolean containsKey(@CheckForNull Object key) {
        return getIfCached(key) != null || backingMap.containsKey(key);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

              if (sourcePos < bufferPos) {
                return@synchronized SOURCE_FILE
              }
    
              // The buffer has the data we need. Read from there and return immediately.
              val bytesToRead = minOf(byteCount, upstreamPos - sourcePos)
              buffer.copyTo(sink, sourcePos - bufferPos, bytesToRead)
              sourcePos += bytesToRead
              return bytesToRead
            }
    
          // Read from the file.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

            return this.isEstablished;
        }
    
    
        /**
         * @return the server's challenge
         */
        public byte[] getServerChallenge () {
            return this.serverChallenge;
        }
    
    
        @Override
        public byte[] getSigningKey () {
            return this.masterKey;
        }
    
    
        @Override
        public String getNetbiosName () {
            return this.netbiosName;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsFileAuthentication.java

        //                                                                             =======
        @Override
        public FileAuthenticationDbm asDBMeta() {
            return FileAuthenticationDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "file_authentication";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      static <K, V> Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      static <E> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top