Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2261 - 2270 of 3,163 for rint (0.12 seconds)

  1. scripts/label_approved.py

    from github.PullRequestReview import PullRequestReview
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class LabelSettings(BaseModel):
        await_label: str | None = None
        number: int
    
    
    default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)}
    
    
    class Settings(BaseSettings):
        github_repository: str
        token: SecretStr
        debug: bool | None = False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jun 17 07:50:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. tests/test_multi_query_errors.py

    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: list[int] = Query(default=None)):
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_multi_query():
        response = client.get("/items/?q=5&q=6")
        assert response.status_code == 200, response.text
        assert response.json() == {"q": [5, 6]}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/StopTokenSuffixFilterFactory.java

            } else {
                stopwords = new String[0];
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", Boolean.FALSE).booleanValue();
            if (ignoreCase) {
                for (int i = 0; i < stopwords.length; i++) {
                    stopwords[i] = stopwords[i].toLowerCase(Locale.ROOT);
                }
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/NetbiosName.java

         *
         * @return the scope id
         */
        String getScope();
    
        /**
         * Returns the NetBIOS name type.
         *
         * @return the name type
         */
        int getNameType();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. internal/disk/fdatasync_unix.go

    package disk
    
    import (
    	"os"
    	"syscall"
    )
    
    // Fdatasync is fsync on freebsd/darwin
    func Fdatasync(f *os.File) error {
    	return syscall.Fsync(int(f.Fd()))
    }
    
    // FadviseDontNeed is a no-op
    func FadviseDontNeed(f *os.File) error {
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SIDTest.java

    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.rpc;
    
    class SIDTest {
    
        // Helper to build a minimal sid_t
        private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) {
            rpc.sid_t s = new rpc.sid_t();
            s.revision = revision;
            s.sub_authority_count = (byte) subs.length;
            s.identifier_authority = Arrays.copyOf(identAuth, 6);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/sql-databases.md

    También vuelve a declarar `id: int`. Al hacer esto, estamos haciendo un **contrato** con los clientes de la API, para que siempre puedan esperar que el `id` esté allí y sea un `int` (nunca será `None`).
    
    /// tip | Consejo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * JDK toolchain factory.
     * This is a <code>ToolchainFactory</code> Plexus component registered with
     * <code>jdk</code> hint.
     *
     * @since 2.0.9, renamed from <code>DefaultJavaToolchainFactory</code> in 3.2.4
     * @deprecated Use {@link org.apache.maven.api.services.ToolchainFactory} instead.
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. misc/ios/detect.go

    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    func plistExtract(fname string, path string) ([]byte, error) {
    	out, err := exec.Command("/usr/libexec/PlistBuddy", "-c", "Print "+path, fname).CombinedOutput()
    	if err != nil {
    		return nil, err
    	}
    	return bytes.TrimSpace(out), nil
    }
    
    func getLines(cmd *exec.Cmd) [][]byte {
    	out := output(cmd)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  10. ci/official/wheel.sh

        # Copy the wheel that was just created
        tfrun bash -c "$TFCI_FIND_BIN ./bazel-bin/tensorflow/tools/pip_package -iname "${wheel_name}*.whl" -printf '%T+ %p\n' | sort | tail -n 1 | awk '{print \$2}' | xargs -I {} cp {} $TFCI_OUTPUT_DIR"
      done
    fi
    
    if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then
      # Note: -n disables overwriting previously created files.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 03 17:29:53 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top