Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for wstr (0.04 sec)

  1. src/testing/example.go

    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    	} else if chatty.on {
    		fmt.Printf("%s--- PASS: %s (%s)\n", chatty.prefix(), eg.Name, dstr)
    	}
    
    	if chatty.on && chatty.json {
    		fmt.Printf("%s=== NAME   %s\n", chatty.prefix(), "")
    	}
    
    	if recovered != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. operator/pkg/validate/validate_values_test.go

    			t.Fatalf("file %s failed validation with: %s", f, err)
    		}
    	}
    }
    
    func makeErrors(estr []string) util.Errors {
    	var errs util.Errors
    	for _, s := range estr {
    		errs = util.AppendErr(errs, fmt.Errorf("%s", s))
    	}
    	return errs
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Base(path) == "values.yaml"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    !!! note
        FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/math/big/int_test.go

    	} {
    		i, ok := new(Int).SetString(test.istr, 0)
    		if !ok {
    			t.Errorf("SetString(%s) failed", test.istr)
    			continue
    		}
    
    		// Test against expectation.
    		f, acc := i.Float64()
    		if f != test.f || acc != test.acc {
    			t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  6. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Optional;
    
    import com.ctc.wstx.stax.WstxInputFactory;
    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.internal.xml.XmlNodeStaxBuilder;
    import org.apache.maven.internal.xml.XmlPlexusConfiguration;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		return
    	}
    	profileStr := r.Form.Get("profilerType")
    	profiles := strings.Split(profileStr, ",")
    	duration := time.Minute
    	if dstr := r.Form.Get("duration"); dstr != "" {
    		var err error
    		duration, err = time.ParseDuration(dstr)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    			return
    		}
    	}
    
    	globalProfilerMu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    		// Clobber only functions where the hash of the function name matches a pattern.
    		// Useful for binary searching for a miscompiled function.
    		hstr := ""
    		for _, b := range notsha256.Sum256([]byte(lv.f.Name)) {
    			hstr += fmt.Sprintf("%08b", b)
    		}
    		if !strings.HasSuffix(hstr, h) {
    			return
    		}
    		fmt.Printf("\t\t\tCLOBBERDEAD %s\n", lv.f.Name)
    	}
    	lv.doClobber = true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/testing/testing.go

    	if t.parent == nil {
    		return
    	}
    	dstr := fmtDuration(t.duration)
    	format := "--- %s: %s (%s)\n"
    	if t.Failed() {
    		t.flushToParent(t.name, format, "FAIL", t.name, dstr)
    	} else if t.chatty != nil {
    		if t.Skipped() {
    			t.flushToParent(t.name, format, "SKIP", t.name, dstr)
    		} else {
    			t.flushToParent(t.name, format, "PASS", t.name, dstr)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/test.go

    enum E {
    	Enum1 = 1,
    	Enum2 = 2,
    };
    
    typedef unsigned char cgo_uuid_t[20];
    
    void uuid_generate(cgo_uuid_t x) {
    	x[0] = 0;
    }
    
    struct S {
    	int x;
    };
    
    const char *cstr = "abcefghijklmnopqrstuvwxyzABCEFGHIJKLMNOPQRSTUVWXYZ1234567890";
    
    extern enum E myConstFunc(struct S* const ctx, int const id, struct S **const filter);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top