Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for metalist (0.14 sec)

  1. src/internal/coverage/cfile/emit.go

    func (s *emitState) needMetaDataFile() bool {
    	return s.mf != nil
    }
    
    func writeMetaData(w io.Writer, metalist []rtcov.CovMetaBlob, cmode coverage.CounterMode, gran coverage.CounterGranularity, finalHash [16]byte) error {
    	mfw := encodemeta.NewCoverageMetaFileWriter("<io.Writer>", w)
    
    	var blobs [][]byte
    	for _, e := range metalist {
    		sd := unsafe.Slice(e.P, int(e.Len))
    		blobs = append(blobs, sd)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/TestEntity.java

    /**
     * @author shinsuke
     *
     */
    public class TestEntity {
        private String title;
    
        private String body;
    
        private List<String> list;
    
        public List<String> getList() {
            return list;
        }
    
        public void setList(final List<String> list) {
            this.list = list;
        }
    
        public String getTitle() {
            return title;
        }
    
        public void setTitle(final String title) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    		}
    		return nil
    	}
    }
    
    // StorageInjectingListErrors injects a dummy error for first N GetList calls.
    type StorageInjectingListErrors struct {
    	storage.Interface
    
    	lock   sync.Mutex
    	Errors int
    }
    
    func (s *StorageInjectingListErrors) GetList(ctx context.Context, key string, opts storage.ListOptions, listObj runtime.Object) error {
    	err := func() error {
    		s.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue(
            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0())));
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_unsupportedAllPresent() {
        try {
          getList().addAll(0, MinimalCollection.of(e0()));
          fail("addAll(n, allPresent) should throw");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

        assertTrue(
            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0())));
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_unsupportedAllPresent() {
        try {
          getList().addAll(0, MinimalCollection.of(e0()));
          fail("addAll(n, allPresent) should throw");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java

      public void testRemoveAtIndex_unsupported() {
        try {
          getList().remove(0);
          fail("remove(i) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
      public void testRemoveAtIndex_negative() {
        try {
          getList().remove(-1);
          fail("remove(-1) should throw");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

           */
        }
      }
    
      public void testSubList_empty() {
        assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0));
      }
    
      public void testSubList_entireList() {
        assertEquals(
            "subList(0, size) should be equal to the original list",
            getList(),
            getList().subList(0, getNumElements()));
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

           */
        }
      }
    
      public void testSubList_empty() {
        assertEquals("subList(0, 0) should be empty", emptyList(), getList().subList(0, 0));
      }
    
      public void testSubList_entireList() {
        assertEquals(
            "subList(0, size) should be equal to the original list",
            getList(),
            getList().subList(0, getNumElements()));
      }
    
      @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       */
      public void testAddAtIndex_unsupportedPresent() {
        try {
          getList().add(0, e0());
          fail("add(n, present) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_supportedNotPresent() {
        getList().add(0, e3());
        expectAdded(0, e3());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top