Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 593 for invokes (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       #threadUnexpectedException} or {@link #threadRecordFailure} (which is called by {@link
     *       CheckedRunnable} and {@link CheckedCallable}).
     *   <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it.
     *       This method is used to clear and check for thread assertion failures.
     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/cors.md

    ## Wildcards { #wildcards }
    
    It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed.
    
    But that will only allow certain types of communication, excluding everything that involves credentials: Cookies, Authorization headers like those used with Bearer Tokens, etc.
    
    So, for everything to work correctly, it's better to specify explicitly the allowed origins.
    
    ## Use `CORSMiddleware` { #use-corsmiddleware }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.List;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull());
    
            // Act
            session.treeConnectLogon();
    
            // Assert: treeConnect invoked once with null params
            verify(tree, times(1)).treeConnect(isNull(), isNull());
            // Close of try-with-resources should call close on the mock
            verify(tree, times(1)).close();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            carrier.noNewExchanges()
            responseBodyComplete(TRAILERS_RESPONSE_BODY_TRUNCATED)
            throw e
          }
    
        /**
         * Closes the cache entry and makes the socket available for reuse. This should be invoked when
         * the end of the body has been reached.
         */
        fun responseBodyComplete(trailers: Headers) {
          if (state == STATE_CLOSED) return
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                  type,
                  new InvocationHandler() {
                    @Override
                    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                      if (!method.getDeclaringClass().equals(type)) {
                        return method.invoke(delegate, args);
                      }
                      checkState(started.getCount() == 1);
                      started.countDown();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

          for (int i = 0; i < parameters.size(); i++) {
            args[i] = getDefaultValue(parameters.get(i).getType());
          }
          try {
            try {
              method.invoke(object, args);
            } catch (InvocationTargetException ex) {
              try {
                throw ex.getCause();
              } catch (UnsupportedOperationException unsupported) {
                // this is a legit exception
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Optional;
    import java.util.stream.Stream;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  9. cmd/os_unix.go

    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    			return err
    		}
    	}
    
    	// Parent now exists; invoke Mkdir and use its result.
    	if err := Mkdir(dirPath, perm); err != nil {
    		if osIsExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/events.md

    ///
    
    /// tip
    
    Notice that in this case we are using a standard Python `open()` function that interacts with a file.
    
    So, it involves I/O (input/output), that requires "waiting" for things to be written to disk.
    
    But `open()` doesn't use `async` and `await`.
    
    So, we declare the event handler function with standard `def` instead of `async def`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
Back to Top