Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2561 - 2570 of 3,014 for ctype (0.1 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/collect/ImmutableList.java

       * Collections#emptyList}, and is preferable mainly for consistency and maintainability of your
       * code.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the list will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableList<E> of() {
        return (ImmutableList<E>) EMPTY;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

       * Interface[]) creates a RegularImmutableSortedSet backed by an array of that
       * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
       * to copy from that array to the destination array. This would be fine, but
       * GWT has a bug: It refuses to copy from an E[] to an Object[] when E is an
       * interface type.
       */
      // TODO: test other collections for this problem
      public void testOf_gwtArraycopyBug() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
Back to Top