Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for throws (0.14 sec)

  1. cluster/gce/gci/configure-helper.sh

    function update-node-journal {
      local -r configmap_yaml="$1"
      if [[ "${ENABLE_NODE_JOURNAL:-}" != "true" ]]; then
        # Removes all lines between two patterns (throws away node-journal)
        sed -i -e "/# BEGIN_NODE_JOURNAL/,/# END_NODE_JOURNAL/d" "${configmap_yaml}"
      fi
    }
    
    # Updates parameters in yaml file for prometheus-to-sd configuration, or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

                abstract class BrokenTransform implements TransformAction<TransformParameters.None> {
                    BrokenTransform() {
                        throw new RuntimeException("broken")
                    }
                    void transform(TransformOutputs outputs) {
                        throw new IllegalArgumentException("broken")
                    }
                }
                ${configurationAndTransform('BrokenTransform')}
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .sslSocketFactory(handshakeCertificates.sslSocketFactory())
        }
      }
    
      /** Confirm that runtime exceptions thrown inside of OkHttp propagate to the caller.  */
      @Test
      fun unexpectedExceptionSync() {
        client =
          client.newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
        server.enqueue(MockResponse())
        assertFailsWith<RuntimeException> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        If log_if_failed is true, the NumericVerify op calculates statistics on
        differences between float and quantized activations, output
        logs, set differences to the output tensors, and throws an error if errors
        above tolerance exist. If log_if_failed = false, then it doesn't care about
        errors.
      }];
    
      let arguments = (ins
        TFL_TensorOf<[QI8, QUI8, QI16, F16, TFL_Quint8]>:$input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	if iscgo {
    		if _cgo_pthread_key_created == nil {
    			throw("_cgo_pthread_key_created missing")
    		}
    
    		if _cgo_thread_start == nil {
    			throw("_cgo_thread_start missing")
    		}
    		if GOOS != "windows" {
    			if _cgo_setenv == nil {
    				throw("_cgo_setenv missing")
    			}
    			if _cgo_unsetenv == nil {
    				throw("_cgo_unsetenv missing")
    			}
    		}
    		if _cgo_notify_runtime_init_done == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

              call: Call,
              e: IOException,
            ) {
              throw AssertionError()
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                responseRef.put(response)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
            }
          },
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/static/webcomponents.min.js

    adeWithDefinition=n,e.implementPrototype=r}),window.CustomElements.addModule(function(e){function t(t,r){var c=r||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(o(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  8. src/net/http/transport_test.go

    	req, err := NewRequest("GET", ts.URL, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	res, err := tr.RoundTrip(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// If we do an early close, Transport just throws the connection away and
    	// doesn't reuse it. In order to trigger the bug, it has to reuse the connection
    	// so read the body
    	if _, err := io.Copy(io.Discard, res.Body); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

        }
    
        void isTransformed(String from, String to) {
            def dirs = allOutputDirs(from, to)
            if (dirs.size() == 0) {
                throw new AssertionError("Could not find $from -> $to in output: $output")
            }
            if (dirs.size() > 1) {
                throw new AssertionError("Found $from -> $to more than once in output: $output")
            }
            assert output.count("into " + dirs.first()) == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("A")
    
        // Confirm the interceptor isn't exercised.
        client =
          client.newBuilder()
            .addNetworkInterceptor(Interceptor { chain: Interceptor.Chain? -> throw AssertionError() })
            .build()
        assertThat(get(url).body.string()).isEqualTo("A")
      }
    
      @Test
      fun iterateCache() {
        // Put some responses in the cache.
        server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top