Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3111 - 3120 of 4,666 for inT (0.05 seconds)

  1. tests/test_additional_properties.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Items(BaseModel):
        items: dict[str, int]
    
    
    @app.post("/foo")
    def foo(items: Items):
        return items.items
    
    
    client = TestClient(app)
    
    
    def test_additional_properties_post():
        response = client.post("/foo", json={"items": {"foo": 1, "bar": 2}})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. 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)
  3. scripts/translate.py

        print(outdated_paths)
        return outdated_paths
    
    
    @app.command()
    def update_outdated(
        language: Annotated[str, typer.Option(envvar="LANGUAGE")],
        max: Annotated[int, typer.Option(envvar="MAX")] = 10,
    ) -> None:
        outdated_paths = list_outdated(language)
        for path in outdated_paths[:max]:
            print(f"Updating lang: {language} path: {path}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingMap.java

      /** Constructor for use by subclasses. */
      protected ForwardingMap() {}
    
      @Override
      protected abstract Map<K, V> delegate();
    
      @Override
      public int size() {
        return delegate().size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate().isEmpty();
      }
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/CapacityEnforcingMap.java

      private final StatsCounter statsCounter;
      private final @Nullable RemovalListener<? super K, ? super V> removalListener;
      private final long maximumSize;
    
      CapacityEnforcingMap(
          int initialCapacity,
          float loadFactor,
          boolean accessOrder,
          long maximumSize,
          StatsCounter statsCounter,
          @Nullable RemovalListener<? super K, ? super V> removalListener) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
            this.sam = sam;
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
            this.sam = sam;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. cmd/test-utils_test.go

    }
    
    var src = rand.NewSource(time.Now().UnixNano())
    
    func randString(n int) string {
    	b := make([]byte, n)
    	// A src.Int63() generates 63 random bits, enough for letterIdxMax characters!
    	for i, cache, remain := n-1, src.Int63(), letterIdxMax; i >= 0; {
    		if remain == 0 {
    			cache, remain = src.Int63(), letterIdxMax
    		}
    		if idx := int(cache & letterIdxMask); idx < len(letterBytes) {
    			b[i] = letterBytes[idx]
    			i--
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

        static String replaceBlockQuote(String body) {
            int start = body.indexOf('"""');
            if (start < 0) {
                return body
            }
            /*
             * 1.3 is a fairly wild guess of the extra space needed to hold
             * the escaped string.
             */
            StringBuilder result = new StringBuilder((int) (body.length() * 1.3));
            int startOfNormal = 0;
            while (start >= 0) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/Info.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    interface Info {
        int getAttributes();
    
        long getCreateTime();
    
        long getLastWriteTime();
    
        long getSize();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 995 bytes
    - Click Count (0)
Back to Top