Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 348 for acceptT2 (0.03 sec)

  1. android/guava/src/com/google/common/net/InetAddresses.java

       *
       * <p>This deliberately avoids all nameservice lookups (e.g. no DNS).
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

        }
    
        final void addAll(@Nullable Object[] elements, int n) {
          checkElementsNotNull(elements, n);
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

     * for interprocess communication.
     *
     * <h2>Receiving Events</h2>
     *
     * <p>To receive events, an object should:
     *
     * <ol>
     *   <li>Expose a public method, known as the <i>event subscriber</i>, which accepts a single
     *       argument of the type of event desired;
     *   <li>Mark it with a {@link Subscribe} annotation;
     *   <li>Pass itself to an EventBus instance's {@link #register(Object)} method.
     * </ol>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      }
    
      /**
       * This accepts a [BufferedSource] instead of using [Socket.source], just in case we've already
       * received data from the peer. This accepts a [BufferedSink] for symmetry with the source.
       */
      fun initReaderAndWriter(
        name: String,
        socket: BufferedSocket,
        client: Boolean,
      ) {
        val extensions = this.extensions!!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
     * If [algorithms] is empty this interceptor has no effect. To disable compression set
     * a specific "Accept-Encoding: identity" or similar.
     *
     * See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Encoding
     */
    open class CompressionInterceptor(
      vararg val algorithms: DecompressionAlgorithm,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with no roles
            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRoles(new String[] { "admin", "user" }));
    
            // Test with single role matching one of accepted
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" }));
            assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                break;
            }
        }
    
        /**
         * Accepts the HTTP method.
         * @param request The HTTP request.
         * @param methods The accepted methods.
         * @return true if the method is accepted, false otherwise.
         */
        protected boolean acceptHttpMethod(final HttpServletRequest request, final String... methods) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      public void testAccept() {
        File dir = new File("foo");
        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlResponseTest.java

            Map<String, List<String>> headers = new HashMap<>();
            headers.put("Accept", Arrays.asList("application/json", "text/html"));
            response.setHeaders(headers);
    
            String[] acceptValues = response.getHeaderValues("Accept");
            String[] acceptValuesLowercase = response.getHeaderValues("accept"); // Test case insensitive
            String[] missingValues = response.getHeaderValues("Missing-Header");
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsCrawlingInfoCB.java

        public CrawlingInfoCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsCrawlingInfoCB cb = this;
            cb.query().docMeta().setId_Equal(id);
            return (CrawlingInfoCB) this;
        }
    
        @Override
        public void acceptPrimaryKeyMap(Map<String, ? extends Object> primaryKeyMap) {
            acceptPK((String) primaryKeyMap.get("_id"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top