Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 2,029 for Size (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

            .testEquals();
      }
    
      public void testToString() {
        assertEquals("{}", INSTANCE.toString());
      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertNull(INSTANCE.get('a', 1));
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/NetworkConnections.java

      Set<E> incidentEdges();
    
      Set<E> inEdges();
    
      Set<E> outEdges();
    
      /**
       * Returns the set of edges connecting the origin node to {@code node}. For networks without
       * parallel edges, this set cannot be of size greater than one.
       */
      Set<E> edgesConnecting(N node);
    
      /**
       * Returns the node that is adjacent to the origin node along {@code edge}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java

                StringBuilder signature = new StringBuilder();
                signature.append("(");
                for (int i = 0; i < methodDoc.getMetaData().getParameters().size(); i++) {
                    if (i > 0) {
                        signature.append(", ");
                    }
                    signature.append(methodDoc.getMetaData().getParameters().get(i).getName());
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

                for (Map.Entry<String, Collection<String>> entry : simpleNames.asMap().entrySet()) {
                    if (entry.getValue().size() > 1) {
                        StringBuilder warning = new StringBuilder();
                        warning.append(String.format("Multiple DSL types have short name '%s':\n", entry.getKey()));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals()));
            assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors()));
            assertEquals(warnings, result.getWarnings().size(), String.valueOf(result.getWarnings()));
        }
    
        @Test
        void testMissingModelVersion() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(0, urlList.size());
    
            urlList.clear();
            urlList.add(RequestDataBuilder.newRequestData().get().url("http://www.example.com").build());
            urlList = fessXpathTransformer.convertChildUrlList(urlList);
            assertEquals(1, urlList.size());
            assertEquals("http://www.example.com", urlList.get(0).getUrl());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        private ArrayWithDuplicate(E[] elements, E duplicate) {
          this.elements = elements;
          this.duplicate = duplicate;
        }
      }
    
      /**
       * @return an array of the proper size with a duplicate element. The size must be at least three.
       */
      protected ArrayWithDuplicate<E> createArrayWithDuplicateElement() {
        E[] elements = createSamplesArray();
        E duplicate = elements[(elements.length / 2) - 1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top