Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,980 for size0 (0.08 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testSize0() {
        Iterator<String> iterator = emptyIterator();
        assertEquals(0, Iterators.size(iterator));
      }
    
      public void testSize1() {
        Iterator<Integer> iterator = singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
      public void testSize_partiallyConsumed() {
        Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 16 ) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[ bufferIndex + 2 ];
            bufferIndex += 4;
            this.shareFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon May 23 14:35:20 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/ChecksumHashFunction.java

            /*
             * The long returned from a 32-bit Checksum will have all 0s for its second word, so the
             * cast won't lose any information and is necessary to return a HashCode of the correct
             * size.
             */
            return HashCode.fromInt((int) value);
          } else {
            return HashCode.fromLong(value);
          }
        }
      }
    
      @J2ObjCIncompatible
      @SuppressWarnings("unused")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                    visitor.onEndHtmlElement(element);
                }
            }
    
            private void unwindTo(Collection<String> ancestors, TokenVisitor visitor) {
                for (int i = 0; i < elementStack.size(); i++) {
                    if (ancestors.contains(elementStack.get(i))) {
                        for (; i > 0; i--) {
                            visitor.onEndHtmlElement(elementStack.removeFirst());
                        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsFileConfigCB.java

            }
    
            if (_specification != null) {
                builder.setFetchSource(_specification.columnList.toArray(new String[_specification.columnList.size()]), null);
            }
    
            return builder;
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            transfers.put(
                    new TransferResourceIdentifier(resource),
                    new TransferResourceAndSize(resource, event.getTransferredBytes()));
    
            buffer.append("Progress (").append(transfers.size()).append("): ");
    
            Iterator<TransferResourceAndSize> entries = transfers.values().iterator();
            while (entries.hasNext()) {
                TransferResourceAndSize entry = entries.next();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

         */
        public static boolean isNumber(final String s) {
            if (isEmpty(s)) {
                return false;
            }
    
            final int size = s.length();
            for (int i = 0; i < size; i++) {
                final char chr = s.charAt(i);
                if (chr < '0' || '9' < chr) {
                    return false;
                }
            }
    
            return true;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                bufferIndex += 28; // ???
            }
    
            bufferIndex = start + daclOffset;
    
            if (daclOffset != 0) {
                bufferIndex++; // revision
                bufferIndex++;
                int size = ServerMessageBlock.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if (numAces > 4096)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  9. docs/recipes.md

                  if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
                  Headers responseHeaders = response.headers();
                  for (int i = 0, size = responseHeaders.size(); i < size; i++) {
                    System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
                  }
    
                  System.out.println(responseBody.string());
                }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                            list.add(line);
                        }
                        if (outputCallback != null) {
                            outputCallback.accept(line);
                        }
                        if (list.size() > bufferSize) {
                            list.remove(0);
                        }
                    }
                } catch (final Exception e) {
                    running = false;
                    if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top