Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,300 for empty (0.07 sec)

  1. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertEquals(-1, tenMillionEmptySources().read(new byte[1]));
      }
    
      private static MultiInputStream tenMillionEmptySources() throws IOException {
        return new MultiInputStream(Collections.nCopies(10_000_000, ByteSource.empty()).iterator());
      }
    
      private static ByteSource newByteSource(final int start, final int size) {
        return new ByteSource() {
          @Override
          public InputStream openStream() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableSet.java

    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      private static final Object[] EMPTY_ARRAY = new Object[0];
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0);
    
      private final transient Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * {@code List<}{@link org.apache.maven.api.Node Node}{@code >},
     * and {@code pathScope != ""}, the dependencies will be <i>flattened</i>.
     * Else the dependencies will be <i>resolved</i> and {@code pathScope} must be non empty,
     * and the field type can be {@link org.apache.maven.api.Node Node},
     * {@code List<}{@link org.apache.maven.api.Node Node}{@code >},
     * {@link org.apache.maven.api.services.DependencyResolverResult DependencyResolverResult},
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/option.go

    	if kubeconfig != "" {
    		// use specified kubeconfig file for the location of the
    		// config to read
    		configAccess.GlobalFile = kubeconfig
    	}
    
    	// gets existing kubeconfig or returns new empty config
    	config, err := configAccess.GetStartingConfig()
    	if err != nil {
    		r.defaultNamespace = v1.NamespaceDefault
    		return
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. mockwebserver/README.md

      server.shutdown();
    }
    ```
    
    Your unit tests might move the `server` into a field so you can shut it down
    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ```java
    MockResponse response = new MockResponse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

        @Override
        protected OptionalThing<String> getCookieRememberMeKey() {
            // example to use remember-me
            //return OptionalThing.of(fessConfig.getCookieRememberMeFessKey());
            return OptionalThing.empty();
        }
    
        @Override
        protected void saveLoginHistory(final FessUser user, final FessUserBean userBean, final LoginSpecifiedOption option) {
            asyncManager.async(() -> {
                insertLogin(user);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "eget augue. Sed nec arcu sem. In hac habitasse platea dictumst.";
    
      static final ImmutableMap<String, String> TEST_STRINGS =
          ImmutableMap.<String, String>builder()
              .put("empty", "")
              .put("1 char", "0")
              .put("1 word", "hello")
              .put("2 words", "hello world")
              .put("\\n line break", "hello\nworld")
              .put("\\r line break", "hello\rworld")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  8. Makefile.core.mk

    HUB ?=istio
    ifeq ($(HUB),)
      $(error "HUB cannot be empty")
    endif
    
    # For dockerx builds, allow HUBS which is a space separated list of hubs. Default to HUB.
    HUBS ?= $(HUB)
    
    # If tag not explicitly set in users' .istiorc.mk or command line, default to the git sha.
    TAG ?= $(shell git rev-parse --verify HEAD)
    ifeq ($(TAG),)
      $(error "TAG cannot be empty")
    endif
    
    PULL_POLICY ?= IfNotPresent
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
      public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. tests/preload_test.go

    		t.Errorf("failed to marshal users, got error %v", err)
    	} else if !regexp.MustCompile(`"Team":\[\],"Languages":\[\],"Friends":\[\]`).MatchString(string(r)) {
    		t.Errorf("json marshal is not empty slice, got %v", string(r))
    	}
    
    	var results []User
    	DB.Preload("Team").Preload("Languages").Preload("Friends").Find(&results, "name = ?", user.Name)
    
    	if r, err := json.Marshal(&results); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top