Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 394 for qsub (0.25 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

              .isEqualTo(returnType);
        }
        return sub;
      }
    
      /**
       * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not
       * hold.
       */
      final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/wsgi.md

    # 包含 WSGI - Flask,Django,其它
    
    您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。
    
    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    ```Python hl_lines="2-3  22"
    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. internal/grid/msg.go

    		if len(h) < 32 {
    			return nil, nil, fmt.Errorf("want subroute len 32, got %v", len(h))
    		}
    		subID := (*[32]byte)(h[len(h)-32:])
    		sub = (*subHandlerID)(subID)
    		// Add if more modifications to h is needed
    		h = h[:len(h)-32]
    	}
    	return sub, h, nil
    }
    
    // setZeroPayloadFlag will clear or set the FlagPayloadIsZero if
    // m.Payload is length 0, but not nil.
    func (m *message) setZeroPayloadFlag() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/wsgi.md

    # Including WSGI - Flask, Django, others
    
    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware`
    
    You need to import `WSGIMiddleware`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. tests/test_skip_defaults.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class SubModel(BaseModel):
        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
        w: Optional[str] = None
        x: Optional[str] = None
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *   <li><b>Module hierarchy:</b> if {@code module-info.class} files are found in sub-directories,
         *       at a deep intentionally restricted to one level, then builds a map of module names found
         *       in the descriptor of each sub-directory.</li>
         * </ul>
         *
         * Otherwise if the given path is a JAR file, then there is a choice:
         * <ul>
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.api.Project
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 933 bytes
    - Viewed (0)
  8. cmd/namespace-lock.go

    		if err := newCtx.Err(); err == context.Canceled {
    			return LockContext{ctx: ctx, cancel: func() {}}, err
    		}
    		return LockContext{ctx: ctx, cancel: func() {}}, OperationTimedOut{}
    	}
    	timeout.LogSuccess(UTCNow().Sub(start))
    	return LockContext{ctx: newCtx, cancel: cancel}, nil
    }
    
    // Unlock - block until write lock is released.
    func (di *distLockInstance) Unlock(lc LockContext) {
    	if lc.cancel != nil {
    		lc.cancel()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  9. internal/grid/trace.go

    	if p := handlerPrefixes[h]; p != "" {
    		prefix = p
    	}
    	trace := madmin.TraceInfo{
    		TraceType: t.TraceType,
    		FuncName:  prefix + "." + h.String(),
    		NodeName:  remote,
    		Time:      start,
    		Duration:  end.Sub(start),
    		Path:      t.Subroute,
    		Error:     errString,
    		HTTP: &madmin.TraceHTTPStats{
    			ReqInfo: madmin.TraceRequestInfo{
    				Time:    start,
    				Proto:   "grid",
    				Method:  "REQ",
    				Client:  local,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/fakes_test.go

    func (f *fakeNs) Close() error {
    	f.closed.Store(true)
    	return nil
    }
    
    func fakeFs() fs.FS {
    	subFs, err := fs.Sub(fakeProc, "testdata")
    	if err != nil {
    		panic(err)
    	}
    	subFs, err = fs.Sub(subFs, "cgroupns")
    	if err != nil {
    		panic(err)
    	}
    	return &fakeFsWithFakeFds{ReadDirFS: subFs.(fs.ReadDirFS)}
    }
    
    type fakeFsWithFakeFds struct {
    	fs.ReadDirFS
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top