Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2341 - 2350 of 3,913 for getS (0.1 sec)

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

            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2));
        ImmutableBiMap<String, Integer> copy = SerializableTester.reserializeAndAssert(bimap);
        assertEquals(Integer.valueOf(1), copy.get("one"));
        assertEquals("one", copy.inverse().get(1));
        assertSame(copy, copy.inverse().inverse());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testInverseSerialization() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Types.java

            result.set(t.getGenericComponentType());
          }
    
          @Override
          void visitClass(Class<?> t) {
            result.set(t.getComponentType());
          }
        }.visit(type);
        return result.get();
      }
    
      /**
       * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null
       * otherwise.
       */
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. internal/etag/etag.go

    }
    
    // Get extracts and parses an ETag from the given HTTP headers.
    // It returns an error when the HTTP headers do not contain
    // an ETag entry or when the ETag is malformed.
    //
    // Get only accepts AWS S3 compatible ETags - i.e. no
    // encrypted ETags - and therefore is stricter than Parse.
    func Get(h http.Header) (ETag, error) {
    	const strict = true
    	if v := h.Get("Etag"); v != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ResourcesTest.java

            };
        List<String> result = Resources.readLines(resource, US_ASCII, collectAndLowercaseAndTrim);
        assertEquals(3600, result.size());
        assertEquals("ALICE'S ADVENTURES IN WONDERLAND", result.get(0));
        assertEquals("THE END", result.get(result.size() - 1));
      }
    
      public void testCopyToOutputStream() throws IOException {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. internal/lsync/lrwmutex.go

    // blocks until the mutex is available.
    func (lm *LRWMutex) Lock() {
    	const isWriteLock = true
    	lm.lockLoop(context.Background(), lm.id, lm.source, math.MaxInt64, isWriteLock)
    }
    
    // GetLock tries to get a write lock on lm before the timeout occurs.
    func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) {
    	const isWriteLock = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. docs/compression/README.md

    compression will not only reduce disk usage but also help increase system throughput.
    Typically, enabling compression on spinning disk systems
    will increase speed when the content can be compressed.
    
    ## Get Started
    
    ### 1. Prerequisites
    
    Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux).
    
    ### 2. Run MinIO with compression
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 11 11:55:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. istioctl/pkg/util/handlers/handlers_test.go

    			switch p, m := req.URL.Path, req.Method; {
    			case p == "/namespaces/istio-system/deployments/foo" && m == "GET":
    				body := cmdtesting.ObjBody(codec, attachDeploy("istio-system"))
    				return &http.Response{StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: body}, nil
    			case p == "/namespaces/test/deployments/foo" && m == "GET":
    				body := cmdtesting.ObjBody(codec, attachDeploy("test"))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            Property<String> defaultDokkaVersion = getDokkatooExtension(project).getVersions().getJetbrainsDokka();
            defaultDokkaVersion.set(dokkaVersionOverride.convention(defaultDokkaVersion.get()));
        }
    
        /**
         * The name of the module is part of the URI for deep links, changing it will break existing links.
         * The name of the module must match the first header of {@code kotlin/Module.md} file.
         */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
        Optional<Long> sizeIfKnown = sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          return sizeIfKnown.get() == 0L;
        }
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return in.read() == -1;
        } catch (Throwable e) {
          throw closer.rethrow(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

    public class FtpAuthenticationHolder {
        List<FtpAuthentication> authList = new ArrayList<>();
    
        public void add(final FtpAuthentication auth) {
            authList.add(auth);
        }
    
        public FtpAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final FtpAuthentication auth : authList) {
                if (auth.matches(path)) {
                    return auth;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top