Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,958 for size0 (0.11 sec)

  1. src/bufio/bufio_test.go

    	if got, want := NewReader(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewReader's Reader.Size = %d; want %d", got, want)
    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
                      public int size() {
                        return list.size();
                      }
    
                      @Override
                      public ListIterator<String> listIterator(int index) {
                        return list.listIterator(index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        Multimap<String, Integer> multimap = Multimaps.forMap(map);
        assertEquals(3, multimap.size());
        assertEquals(emptySet(), multimap.removeAll("dog"));
        assertEquals(3, multimap.size());
        assertTrue(multimap.containsKey("bar"));
        assertEquals(singleton(2), multimap.removeAll("bar"));
        assertEquals(2, multimap.size());
        assertFalse(multimap.containsKey("bar"));
      }
    
      public void testForMapAsMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

                public int getCount() {
                  return backingEntry.getValue().size();
                }
              };
            }
          };
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

              return rangeMapEntry.getValue();
            }
          }
          return null;
        }
    
        @Override
        public int size() {
          return entriesByLowerBound.size();
        }
    
        @Override
        Iterator<Entry<Range<K>, V>> entryIterator() {
          return entryIterable.iterator();
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            final String response = getJsonResponse("/api/admin/scheduler/settings");
            final List<Map<String, Object>> itemList = JsonPath.from(response).getList(getResponsePath(namePrefix));
            assertEquals(1, itemList.size());
            return itemList.get(0);
        }
    
        protected static List<String> getSchedulerIds(final String namePrefix) {
            final String response = getJsonResponse("/api/admin/scheduler/settings");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.hashCode();
        }
    
        @Override
        public int size() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.size();
        }
    
        @Override
        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_remote_test_util.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      TFE_TensorHandle* h0_task0 = TestMatrixTensorHandle(ctx);
      TFE_TensorHandle* h1_task0 = TestMatrixTensorHandle(ctx);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                } else {
                    pair.getFirst().put(toLowerCase(entity.getTerm()), entity.getContent());
                }
            });
            this.relatedContentMap = relatedContentMap;
            return relatedContentMap.size();
        }
    
        protected String getHostKey(final RelatedContent entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top