Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 124 for throws (0.12 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    // Macros for testing exceptions.
    //
    //    * {ASSERT|EXPECT}_THROW(statement, expected_exception):
    //         Tests that the statement throws the expected exception.
    //    * {ASSERT|EXPECT}_NO_THROW(statement):
    //         Tests that the statement doesn't throw any exception.
    //    * {ASSERT|EXPECT}_ANY_THROW(statement):
    //         Tests that the statement throws an exception.
    
    #define EXPECT_THROW(statement, expected_exception) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    // Macros for testing exceptions.
    //
    //    * {ASSERT|EXPECT}_THROW(statement, expected_exception):
    //         Tests that the statement throws the expected exception.
    //    * {ASSERT|EXPECT}_NO_THROW(statement):
    //         Tests that the statement doesn't throw any exception.
    //    * {ASSERT|EXPECT}_ANY_THROW(statement):
    //         Tests that the statement throws an exception.
    
    #define EXPECT_THROW(statement, expected_exception) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * This example shows the single instance with default configurations.
     *
     * ```java
     * public final OkHttpClient client = new OkHttpClient.Builder()
     *     .readTimeout(1000, TimeUnit.MILLISECONDS)
     *     .writeTimeout(1000, TimeUnit.MILLISECONDS)
     *     .build();
     * ```
     *
     * This example shows a call with a short 500 millisecond read timeout and a 1000 millisecond
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    				print("s.state = ", state, "\n")
    				throw("non in-use span found with specials bit set")
    			}
    			// Check that this span was swept (it may be cached or uncached).
    			if !useCheckmark && !(s.sweepgen == sg || s.sweepgen == sg+3) {
    				// sweepgen was updated (+2) during non-checkmark GC pass
    				print("sweep ", s.sweepgen, " ", sg, "\n")
    				throw("gc: unswept span")
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      }
    
      @Throws(InterruptedException::class, TimeoutException::class)
      private fun waitForConnectionShutdown(connection: RealConnection?) {
        if (connection!!.isHealthy(false)) {
          Thread.sleep(100L)
        }
        if (connection.isHealthy(false)) {
          Thread.sleep(2000L)
        }
        if (connection.isHealthy(false)) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    //go:nosplit
    func (span *mspan) heapBits() []uintptr {
    	const doubleCheck = false
    
    	if doubleCheck && !span.isUserArenaChunk {
    		if span.spanclass.noscan() {
    			throw("heapBits called for noscan")
    		}
    		if span.elemsize > minSizeForMallocHeader {
    			throw("heapBits called for span class that should have a malloc header")
    		}
    	}
    	// Find the bitmap at the end of the span.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

        // following writeObject() handles the SynchronizedObject members.
    
        @GwtIncompatible // java.io.ObjectOutputStream
        @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
          synchronized (mutex) {
            stream.defaultWriteObject();
          }
        }
    
        @GwtIncompatible // not needed in emulated source
        @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

        // following writeObject() handles the SynchronizedObject members.
    
        @GwtIncompatible // java.io.ObjectOutputStream
        @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
          synchronized (mutex) {
            stream.defaultWriteObject();
          }
        }
    
        @GwtIncompatible // not needed in emulated source
        @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    			// https://github.com/kubernetes/kubernetes/blob/ec9a8ffb237e391ce9ccc58de93ba4ecc2fabf42/staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go#L146-L149
    			//
    			// Throws error trying to interpret an invalid existing `liveObj`
    			// as a set.
    			Name:     "Change list to set",
    			Disabled: true,
    			Operations: []ratchetingTestOperation{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    	// during profiling signals or during a crash.
    	//
    	// If neither unwindPrintErrors or unwindSilentErrors are set, unwinding
    	// performs extra consistency checks and throws on any error.
    	//
    	// Note that there are a small number of fatal situations that will throw
    	// regardless of unwindPrintErrors or unwindSilentErrors.
    	unwindPrintErrors unwindFlags = 1 << iota
    
    	// unwindSilentErrors silently ignores errors during unwinding.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top