Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 522 for Clear (1.95 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

            }
            remaining--;
            /*
             * requireNonNull is safe because `remaining` starts at 0, forcing us to initialize
             * `element` above. After that, we never clear it.
             */
            return requireNonNull(element);
          }
        };
      }
    
      @LazyInit private transient @Nullable ImmutableList<E> asList;
    
      @Override
      public ImmutableList<E> asList() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

            String[] testOrigins = { "https://example.com", "https://test.example.com", "http://localhost:8080" };
    
            for (String origin : testOrigins) {
                processCalled = false;
                responseHeaders.clear();
    
                HttpServletRequest request = createMockRequest();
                HttpServletResponse response = createMockResponse();
    
                corsHandler.process(origin, request, response);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("a", 11);
        multimap.put("b", 2);
        multimap.put("c", 3);
        multimap.put("d", 4);
        multimap.put("e", 5);
        multimap.put("e", 55);
    
        multimap.keySet().tailSet("d").clear();
        assertEquals(ImmutableSet.of("a", "b", "c"), multimap.keySet());
        assertEquals(4, multimap.size());
        assertEquals(4, multimap.values().size());
        assertEquals(4, multimap.keys().size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        dns.assertRequests(PROXY_A_HOST)
        assertThat(selection1.hasNext()).isFalse()
        assertThat(routeSelector.hasNext()).isTrue()
        dns.clear(PROXY_B_HOST)
        assertFailsWith<UnknownHostException> {
          routeSelector.next()
        }
        dns.assertRequests(PROXY_B_HOST)
        assertThat(routeSelector.hasNext()).isTrue()
        dns[PROXY_A_HOST] = dns.allocate(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         */
        public final void addFlags(final int flag) {
            this.flags |= flag;
        }
    
        /**
         * Clears the specified flags from this message.
         *
         * @param flag the flags to clear
         */
        public final void clearFlags(final int flag) {
            this.flags &= ~flag;
        }
    
        /**
         * @return the mid
         */
        @Override
        public final long getMid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. cmd/storage-rest-server.go

    		if doneCh == nil {
    			return
    		}
    
    		// Indicate we are ready to write.
    		doneCh <- err
    
    		// Wait for channel to be closed so we don't race on writes.
    		<-doneCh
    
    		// Clear so we can be called multiple times without crashing.
    		doneCh = nil
    	}, &closeNotifier{rc: r.Body, done: bodyDoneCh}
    }
    
    // keepHTTPResponseAlive can be used to avoid timeouts with long storage
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void clear() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Returns an {@code ImmutableList} containing the same elements, in the same order, as this
       * collection.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        private Map<String, Object> getContextMap() {
            HashMap<String, Object> map = mapPool.poll();
            if (map == null) {
                map = new HashMap<>();
            } else {
                map.clear();
            }
            return map;
        }
    
        private void returnContextMap(Map<String, Object> map) {
            if (map instanceof HashMap && map.size() < 20) { // Avoid keeping very large maps
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                            return OptionalThing.empty();
                        }
                    };
                }
            };
            envMap.clear();
            systemHelper.init();
            systemHelper.addShutdownHook(() -> {});
            ComponentUtil.register(systemHelper, "systemHelper");
        }
    
        public void test_getUsername() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              ******@****.***ions = extensions
              if (!extensions.isValid()) {
                synchronized(this@RealWebSocket) {
                  messageAndCloseQueue.clear() // Don't transmit any messages.
                  close(1010, "unexpected Sec-WebSocket-Extensions in response header")
                }
              }
    
              // Process all web socket messages.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top