Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 2,426 for Call (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        parts.close()
    
        assertFailsWith<IllegalStateException> {
          part.body.request(10)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
      }
    
      @Test fun `cannot call nextPart after calling close`() {
        val parts =
          MultipartReader(
            boundary = "simple boundary",
            source = Buffer(),
          )
    
        parts.close()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        Callable<Integer> loader =
            new Callable<Integer>() {
              private int i = 0;
    
              @Override
              public Integer call() throws Exception {
                return ++i;
              }
            };
    
        cache.put(0, 10);
    
        assertEquals(Integer.valueOf(10), cache.get(0, loader));
        assertEquals(Integer.valueOf(1), cache.get(20, loader));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NetworkExplorerTest.java

            // Use spy to avoid actual SMB operations
            NetworkExplorer spyExplorer = spy(networkExplorer);
            doNothing().when(spyExplorer).doFile(any(), any(), any());
    
            // Call the method
            spyExplorer.doFile(request, response, smbFile);
    
            // Verify the method was called
            verify(spyExplorer).doFile(eq(request), eq(response), eq(smbFile));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

        }
    
        /**
         * Release all leases
         */
        public void releaseAll() {
            lock.writeLock().lock();
            try {
                log.info("Releasing all {} leases", leases.size());
                leases.clear();
                pathToLease.clear();
            } finally {
                lock.writeLock().unlock();
            }
        }
    
        /**
         * Get all active leases
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes
       * this builder to sort entries by value.
       *
       * <p>Builder instances can be reused - it is safe to call {@link #buildOrThrow} multiple times to
       * build multiple bimaps in series. Each bimap is a superset of the bimaps created before it.
       *
       * @since 2.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    }
    
    // ServiceHandler - POST /minio/admin/v3/service?action={action}
    // ----------
    // Supports following actions:
    // - restart (restarts all the MinIO instances in a setup)
    // - stop (stops all the MinIO instances in a setup)
    // - freeze (freezes all incoming S3 API calls)
    // - unfreeze (unfreezes previously frozen S3 API calls)
    func (a adminAPIHandlers) ServiceHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication-handlers.go

    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrBucketRemoteIdenticalToSource), r.URL)
    			return
    		}
    
    		reader := bytes.NewReader(buf)
    		// fake a PutObject and RemoveObject call to validate permissions
    		c := &minio.Core{Client: clnt.Client}
    		putOpts := minio.PutObjectOptions{
    			Internal: minio.AdvancedPutOptions{
    				SourceVersionID:          mustGetUUID(),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

        return asByteSink(file, modes).asCharSink(charset);
      }
    
      /**
       * Reads all bytes from a file into a byte array.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}.
       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * {@link #escape(int)} for each of them. If the semantics of your escaper are such that code
       * points in the supplementary range are either all escaped or all unescaped, this method can be
       * implemented more efficiently using {@link CharSequence#charAt(int)}.
       *
       * <p>Note however that if your escaper does not escape characters in the supplementary range, you
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
            }
          };
        }
      }
    
      @Override
      public NavigableSet<K> navigableKeySet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top