Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 181 for resc (0.08 sec)

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

            assertTrue(desc, isTimed(method));
            break;
          case 3:
            assertTrue(desc, isGuarded(method));
            assertTrue(desc, isTimed(method));
            break;
          default:
            fail(desc);
        }
    
        if (method.getReturnType() == void.class) {
          assertFalse(desc, isBoolean(method));
        } else {
          assertTrue(desc, isBoolean(method));
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonDiagnosticsTest.groovy

            def log = temp.file("foo.log")
            log << "hey joe!"
            def diagnostics = new DaemonDiagnostics(log, 123)
    
            when:
            String desc = diagnostics.describe()
    
            then:
            desc.contains "123"
            desc.contains log.name
            desc.contains "hey joe!"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

    opt<std::string> input_path(llvm::cl::Positional,
                                llvm::cl::desc("<input path>"), llvm::cl::Required);
    
    // NOLINTNEXTLINE
    opt<std::string> output_filename("o", llvm::cl::desc("<output path>"),
                                     llvm::cl::Optional, llvm::cl::init("-"));
    
    // NOLINTNEXTLINE
    opt<std::string> input_arg_shapes_str(
        "input-arg-shapes",
        llvm::cl::desc(
            "A string representation of input argument shapes for 'main' "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	testCases := []struct {
    		desc    string
    		config  string
    		want    []healthChecker
    		wantErr string
    		kmsv2   bool
    		kmsv1   bool
    	}{
    		{
    			desc:    "Invalid config file path",
    			config:  "invalid/path",
    			want:    nil,
    			wantErr: `error reading encryption provider configuration file "invalid/path"`,
    		},
    		{
    			desc:    "Empty config file content",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/issues_test.go

    	res2 := defs[m.Type.ResultList[0].Name].(*Var)
    
    	if res1 != res2 {
    		t.Errorf("got %s (%p) != %s (%p)", res1, res2, res1, res2)
    	}
    }
    
    // This tests that uses of existing vars on the LHS of an assignment
    // are Uses, not Defs; and also that the (illegal) use of a non-var on
    // the LHS of an assignment is a Use nonetheless.
    func TestIssue7827(t *testing.T) {
    	const src = `
    package p
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/net/resolverdialfunc_test.go

    		a.h.Question(h, q)
    	}
    	if err != nil && err != dnsmessage.ErrSectionDone {
    		return 0, err
    	}
    
    	resh := h
    	resh.Response = true
    	resh.Authoritative = true
    	if hadQ {
    		resh.RCode = dnsmessage.RCodeSuccess
    	} else {
    		resh.RCode = dnsmessage.RCodeNotImplemented
    	}
    	a.rbuf.Grow(514)
    	a.rbuf.WriteByte('X') // reserved header for beu16 length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    		out = cgoLine.ReplaceAllString(out, "")
    		out = cgoTypeSigRe.ReplaceAllString(out, "C.")
    	}
    
    	// Usually desc is already p.Desc(), but if not, signal cmdError.Error to
    	// add a line explicitly mentioning the import path.
    	needsPath := importPath != "" && p != nil && desc != p.Desc()
    
    	err := &cmdError{desc, out, importPath, needsPath}
    	if cmdErr != nil {
    		// The command failed. Report the output up as an error.
    		return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. tests/integration/ambient/wasm_test.go

    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const (
    	imageName      = "istio-testing/wasm/header-injector"
    	injectedHeader = "x-resp-injection"
    	wasmConfigFile = "testdata/wasm-filter.yaml"
    )
    
    type wasmTestConfigs struct {
    	desc         string
    	name         string
    	testHostname string
    }
    
    var generation = 0
    
    func GetClientInstances() echo.Instances {
    	return apps.Captured
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun newApi(thing: String, desc: String): String =
                "$thing ${describe(thing, desc)}: New public API in 2.0 (@Incubating)"
    
            fun added(thing: String, desc: String): List<String> =
                listOf(
                    "$thing ${describe(thing, desc)}: Is not annotated with @Incubating.",
                    "$thing ${describe(thing, desc)}: Is not annotated with @since 2.0."
                )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/cmd/pprof/pprof.go

    			TLSClientConfig:       tlsConfig,
    		},
    	}
    	resp, err := client.Get(source)
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, statusCodeError(resp)
    	}
    	return profile.Parse(resp.Body)
    }
    
    func statusCodeError(resp *http.Response) error {
    	if resp.Header.Get("X-Go-Pprof") != "" && strings.Contains(resp.Header.Get("Content-Type"), "text/plain") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top