Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 4,692 for spring (0.15 sec)

  1. operator/pkg/manifest/shared.go

    func convertIOPMapValues(outYAML string, setFlags []string, convertPaths []string) (string, error) {
    	for _, setFlagConvertPath := range convertPaths {
    		if containParentPath(setFlags, setFlagConvertPath) {
    			var (
    				converter              = map[string]interface{}{}
    				convertedProxyMetadata = map[string]string{}
    				subPaths               = strings.Split(setFlagConvertPath, ".")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
      public void testGetCheckedUntimed_interrupted() {
        SettableFuture<String> future = SettableFuture.create();
        Thread.currentThread().interrupt();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
      public void testGetCheckedUntimed_interrupted() {
        SettableFuture<String> future = SettableFuture.create();
        Thread.currentThread().interrupt();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/plugin_test.go

    	return m.Run()
    }
    
    func goCmd(t *testing.T, op string, args ...string) string {
    	if t != nil {
    		t.Helper()
    	}
    	var flags []string
    	if op != "tool" {
    		flags = []string{"-gcflags", gcflags}
    	}
    	return run(t, filepath.Join(goroot, "bin", "go"), append(append([]string{op}, flags...), args...)...)
    }
    
    // escape converts a string to something suitable for a shell command line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/html/template/js.go

    // `\u2029`.
    func replace(s string, replacementTable []string) string {
    	var b strings.Builder
    	r, w, written := rune(0), 0, 0
    	for i := 0; i < len(s); i += w {
    		// See comment in htmlEscaper.
    		r, w = utf8.DecodeRuneInString(s[i:])
    		var repl string
    		switch {
    		case int(r) < len(lowUnicodeReplacementTable):
    			repl = lowUnicodeReplacementTable[r]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/net/http/clientserver_test.go

    	t.ts.Close()
    }
    
    func (t *clientServerTest) getURL(u string) string {
    	res, err := t.c.Get(u)
    	if err != nil {
    		t.t.Fatal(err)
    	}
    	defer res.Body.Close()
    	slurp, err := io.ReadAll(res.Body)
    	if err != nil {
    		t.t.Fatal(err)
    	}
    	return string(slurp)
    }
    
    func (t *clientServerTest) scheme() string {
    	if t.h2 {
    		return "https"
    	}
    	return "http"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  7. src/html/template/escape.go

    		t.Tree = t.text.Tree
    	}
    	return nil
    }
    
    // evalArgs formats the list of arguments into a string. It is equivalent to
    // fmt.Sprint(args...), except that it dereferences all pointers.
    func evalArgs(args ...any) string {
    	// Optimization for simple common case of a single string argument.
    	if len(args) == 1 {
    		if s, ok := args[0].(string); ok {
    			return s
    		}
    	}
    	for i, arg := range args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/fmt.go

    			mode = fmtTypeID
    		}
    		fmt.Fprint(s, tconv(t, verb, mode))
    	default:
    		fmt.Fprintf(s, "%%!%c(*Type=%p)", verb, t)
    	}
    }
    
    // String returns the Go syntax for the type t.
    func (t *Type) String() string {
    	return tconv(t, 0, fmtGo)
    }
    
    // LinkString returns a string description of t, suitable for use in
    // link symbols.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/status/server_test.go

    			if rec.Code != 200 {
    				t.Fatalf("handleStats() => %v; want 200", rec.Code)
    			}
    			if !strings.Contains(rec.Body.String(), tt.output) {
    				t.Fatalf("handleStats() => %v; want %v", rec.Body.String(), tt.output)
    			}
    
    			parser := expfmt.TextParser{}
    			mfMap, err := parser.TextToMetricFamilies(strings.NewReader(rec.Body.String()))
    			if err != nil && !tt.expectParseError {
    				t.Fatalf("failed to parse metrics: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. statement.go

    			}
    		case map[string]string:
    			keys := make([]string, 0, len(v))
    			for i := range v {
    				keys = append(keys, i)
    			}
    			sort.Strings(keys)
    
    			for _, key := range keys {
    				conds = append(conds, clause.Eq{Column: key, Value: v[key]})
    			}
    		case map[string]interface{}:
    			keys := make([]string, 0, len(v))
    			for i := range v {
    				keys = append(keys, i)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top