Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1851 - 1860 of 3,045 for rint (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/store/batch.go

    		}
    	}
    
    	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 {
    	return len(b.items) >= int(b.limit)
    }
    
    func (b *Batch[I]) commit() error {
    	switch len(b.items) {
    	case 0:
    		return nil
    	case 1:
    		_, err := b.store.Put(b.items[0])
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

            File dir = null;
            final URL url = getResource(path);
            if ("file".equals(url.getProtocol())) {
                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
            } else {
                dir = new File(JarFileUtil.toJarFilePath(url));
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

     * @see SuggestAnalyzer
     */
    public class DefaultContentsParser implements ContentsParser {
    
        private static final Logger logger = LogManager.getLogger(DefaultContentsParser.class);
    
        private final int maxAnalyzedContentLength;
    
        /**
         * Constructor.
         */
        public DefaultContentsParser() {
            maxAnalyzedContentLength = Integer.getInteger("fess.suggest.max.analyzed.content.length", 1000);
        }
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        private static final Logger log = LoggerFactory.getLogger(SmbFileIntegrationTest.class);
    
        private static final String IMAGE_NAME = "dperson/samba:latest";
        private static final int SMB_PORT = 445;
        private static final int NETBIOS_PORT = 139;
    
        private static final String WORKGROUP = "WORKGROUP";
        private static final String USERNAME = "smbuser";
        private static final String PASSWORD = "smbpass";
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
        this.httpClient = new OkHttpClient.Builder()
            .build();
        this.moshi = new Moshi.Builder()
            .add(new SlackJsonAdapters())
            .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        private static final int FIND_OVERHEAD = 100; // plenty enough
    
        private Trans2FindNext2 nextRequest;
        private Trans2FindFirst2Response response;
    
        public DirFileEntryEnumIterator1(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard,
                final ResourceNameFilter filter, final int searchAttributes) throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            assertEquals(6, WitnessEventType.NODE_UNAVAILABLE.getValue());
            assertEquals(7, WitnessEventType.NODE_AVAILABLE.getValue());
    
            // Verify all values are unique
            for (int i = 0; i < events.length; i++) {
                for (int j = i + 1; j < events.length; j++) {
                    assertNotEquals(events[i].getValue(), events[j].getValue(),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

         *
         * @return The start position.
         */
        public abstract int getStartPosition();
    
        /**
         * Returns the page size.
         *
         * @return The page size.
         */
        public abstract int getPageSize();
    
        /**
         * Returns the offset.
         *
         * @return The offset.
         */
        public abstract int getOffset();
    
        /**
         * Returns the extra queries.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractMultimap.java

        public Spliterator<Entry<K, V>> spliterator() {
          return entrySpliterator();
        }
      }
    
      @WeakOuter
      final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return Sets.equalsImpl(this, obj);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/lang/MethodUtil.java

         */
        public static boolean isHashCodeMethod(final Method method) {
            assertArgumentNotNull("method", method);
    
            return method != null && method.getName().equals("hashCode") && method.getReturnType() == int.class
                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * Returns whether the method is the {@literal toString()} method.
         *
         * @param method
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top