Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,008 for contents (0.47 sec)

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

          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int toRemove = 0; toRemove < 10; toRemove++) {
              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    	}
    
    	var contents []ItemContent
    	if err := tx.Find(&contents).Error; err != nil {
    		t.Errorf("failed to find contents, got error: %v", err)
    	}
    	if len(contents) != 3 {
    		t.Errorf("expected %d contents, got %d", 3, len(contents))
    	}
    
    	// test delete
    	if err := tx.Model(&item).Association("Contents").Unscoped().Delete(&contents[0]); err != nil {
    		t.Errorf("failed to delete Contents, got error: %v", err)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

         * プラットフォームのデフォルトエンコーディングでXMLの内容を {@link InputStream}として取得します。
         *
         * @param contents
         *            コンテンツ。{@literal null}であってはいけません
         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents) {
            assertArgumentNotNull("contents", contents);
            return getContentsAsStream(contents, null);
        }
    
        /**
         * 指定のエンコーディングでXMLの内容を {@link InputStream}として取得します。
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return new TreeSet<E>(contents);
          }
        },
        UnmodifiableSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return Collections.unmodifiableSet(new HashSet<E>(contents));
          }
        },
        SynchronizedSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return new TreeSet<E>(contents);
          }
        },
        UnmodifiableSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
            return Collections.unmodifiableSet(new HashSet<E>(contents));
          }
        },
        SynchronizedSetImpl {
          @Override
          public <E extends Comparable<E>> Set<E> create(Collection<E> contents) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  6. cmd/api-response.go

    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = object.StorageClass
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		content.Owner = owner
    		contents = append(contents, content)
    	}
    	data.Name = bucket
    	data.Contents = contents
    
    	data.EncodingType = encodingType
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  7. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

          return new ArrayList<>(contents);
        }
      }
    
      private static final class LinkedListExample extends ListExample {
    
        protected LinkedListExample(String name) {
          super(name, Modifiability.ALL);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new LinkedList<>(contents);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ListsImplTest.java

          return new ArrayList<>(contents);
        }
      }
    
      private static final class LinkedListExample extends ListExample {
    
        protected LinkedListExample(String name) {
          super(name, Modifiability.ALL);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new LinkedList<>(contents);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int toRemove = 0; toRemove < 10; toRemove++) {
              assertEquals(
                  contents.contains(toRemove) && EVEN.apply(toRemove),
                  filter(createUnfiltered(contents), EVEN).remove(toRemove));
            }
          }
        }
    
        public void testContains() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top