Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2071 - 2080 of 2,502 for tape (0.2 seconds)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        return CollectCollectors.toImmutableSortedMap(
            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      // unsafe, comparator() returns a comparator on the specified type
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> of() {
        return new Builder<K, V>((Comparator<K>) NATURAL_ORDER).build();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  2. cmd/admin-handlers-site-replication.go

    	}
    
    	var item madmin.SRIAMItem
    	if err := parseJSONBody(ctx, r.Body, &item, ""); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var err error
    	switch item.Type {
    	default:
    		err = errSRInvalidRequest(errInvalidArgument)
    	case madmin.SRIAMItemPolicy:
    		if item.Policy == nil {
    			err = globalSiteReplicationSys.PeerAddPolicyHandler(ctx, item.Name, nil, item.UpdatedAt)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. internal/ringbuffer/ring_buffer.go

    // It operates like a buffered pipe, where data written to a RingBuffer
    // and can be read back from another goroutine.
    // It is safe to concurrently read and write RingBuffer.
    type RingBuffer struct {
    	buf       []byte
    	size      int
    	r         int // next position to read
    	w         int // next position to write
    	isFull    bool
    	err       error
    	block     bool
    	mu        sync.Mutex
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

                fail("Should have caught SearchQueryException");
            }
        }
    
        @Test
        public void test_catchAsFessSystemException() {
            // Test catching as parent exception type
            String message = "Polymorphism test";
    
            try {
                throw new SearchQueryException(message);
            } catch (FessSystemException e) {
                assertEquals(message, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            .build()
        url = server.url("/")
      }
    
      @Test
      fun get() {
        assumeNotWindows()
        server.enqueue(
          MockResponse
            .Builder()
            .body("Hello!")
            .setHeader("Content-Type", PLAIN)
            .build(),
        )
        val response = client.newCall(request().build()).execute()
        assertThat(response.body).isNotNull()
        response.body.bytes()
        logRecorder
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        /* Test that it can be empty. */
        EnumBiMap<Currency, Country> emptyBimap = EnumBiMap.create(Currency.class, Country.class);
        EnumHashBiMap<Currency, Country> bimap3 = // use exact type
            EnumHashBiMap.create(emptyBimap);
        assertEquals(bimap3, emptyBimap);
      }
    
      @GwtIncompatible // keyType
      public void testKeyType() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/eventbus/Dispatcher.java

        // 2. It's possible for subscribers to actually be dispatched to in a different order than they
        //    were added to the queue. It's easily possible for one thread to take the head of the
        //    queue, immediately followed by another thread taking the next element in the queue. That
        //    second thread can then dispatch to the subscriber it took before the first thread does.
        //
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          }
        } catch (ExecutionException e) {
          throwable = e.getCause();
          if (throwable == null) {
            throwable =
                new NullPointerException(
                    "Future type "
                        + localInputFuture.getClass()
                        + " threw "
                        + e.getClass()
                        + " without a cause");
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 18:28:58 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CharSink.java

       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
       * @throws IOException if an I/O error occurs while opening the writer
       * @since 15.0 (in 14.0 with return type {@link BufferedWriter})
       */
      public Writer openBufferedStream() throws IOException {
        Writer writer = openStream();
        return (writer instanceof BufferedWriter)
            ? (BufferedWriter) writer
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top