Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 692 for acceptT (0.06 seconds)

  1. android/guava/src/com/google/common/base/Equivalence.java

          }
          if (obj instanceof Wrapper) {
            Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T>
    
            if (this.equivalence.equals(that.equivalence)) {
              /*
               * We'll accept that as sufficient "proof" that either equivalence should be able to
               * handle either reference, so it's safe to circumvent compile-time type checking.
               */
              @SuppressWarnings("unchecked")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. internal/ringbuffer/ring_buffer.go

    			return 0
    		}
    		return r.size
    	}
    
    	if r.w < r.r {
    		return r.r - r.w
    	}
    
    	return r.size - r.w + r.r
    }
    
    // WriteString writes the contents of the string s to buffer, which accepts a slice of bytes.
    func (r *RingBuffer) WriteString(s string) (n int, err error) {
    	x := (*[2]uintptr)(unsafe.Pointer(&s))
    	h := [3]uintptr{x[0], x[1], x[1]}
    	buf := *(*[]byte)(unsafe.Pointer(&h))
    	return r.Write(buf)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                    .stream(out -> {
                        try (final Writer writer = new BufferedWriter(new OutputStreamWriter(out.stream(), Constants.CHARSET_UTF_8))) {
                            writeCall.accept(writer);
                            writer.flush();
                        } catch (final Exception e) {
                            logger.warn("Failed to write {} to response.", id, e);
                        }
                    });
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      // without the reference to unlimited queues.
      /**
       * Returns the number of additional elements that this queue can ideally (in the absence of memory
       * or resource constraints) accept without blocking. This is always equal to the initial capacity
       * of this queue less the current {@code size} of this queue.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

             * @param consumer the consumer to execute
             */
            public void godHandEpilogue(final ActionRuntime runtime, final Consumer<ActionRuntime> consumer) {
                consumer.accept(runtime);
            }
    
            /**
             * Before hook for action processing.
             *
             * @param runtime the action runtime
             * @param func the function to execute
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                } else {
                    queryContext.setQueryBuilder(QueryBuilders.matchAllQuery());
                }
                // TODO options query
                context.accept(queryContext);
            } catch (final QueryParseException e) {
                throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryParseError(UserMessages.GLOBAL_PROPERTY_KEY),
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("abc")
      }
    
      /**
       * The pinner should accept an intermediate from the server's chain.
       */
      @Test
      fun pinIntermediatePresentInChain() {
        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
        val rootCa =
          HeldCertificate
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 24.3K bytes
    - Click Count (2)
  8. android/guava/src/com/google/common/base/Optional.java

       * Number value = first.or(0.5); // fine
       * }
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
       * Optional.orElse}, but will not accept {@code null} as a {@code defaultValue} ({@link #orNull}
       * must be used instead). As a result, the value returned by this method is guaranteed non-null,
       * which is not the case for the {@code java.util} equivalent.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Verify.java

       * Preconditions.checkNotNull.
       *
       * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other
       * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first
       * place....)
       */
    
      /**
       * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default
       * message otherwise.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public void forEach(BiConsumer<? super K, ? super V> action) {
          checkNotNull(action);
          // avoids allocation of entries
          backingSet().forEach(k -> action.accept(k, function.apply(k)));
        }
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          Iterator<Entry<K, V>> asMapEntryIterator(Set<K> set, Function<? super K, V> function) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top