Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for drop (0.03 sec)

  1. docs/en/docs/advanced/dataclasses.md

    In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
    
    {* ../../docs_src/dataclasses/tutorial003.py hl[1,5,8:11,14:17,23:25,28] *}
    
    1. We still import `field` from standard `dataclasses`.
    
    2. `pydantic.dataclasses` is a drop-in replacement for `dataclasses`.
    
    3. The `Author` dataclass includes a list of `Item` dataclasses.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            // collect drop list
            for (MetadataGraphVertex v : g.getVertices()) {
                if (!visited.contains(v)) {
                    dropList.add(v);
                }
            }
    
            if (dropList.isEmpty()) {
                return g;
            }
    
            // now - drop vertices
            TreeSet<MetadataGraphVertex> vertices = g.getVertices();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    
    	query = DB.Model(&User{}).Where("age > ?", 20)
    	if err := DB.Migrator().CreateView("users_view", gorm.ViewOption{Query: query}); err != nil {
    		t.Fatalf("Failed to crate view, got %v", err)
    	}
    	if err := DB.Migrator().DropView("users_view"); err != nil {
    		t.Fatalf("Failed to drop view, got %v", err)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    	}
    
    	if len(line) == 0 {
    		if err != nil {
    			line = nil
    		}
    		return
    	}
    	err = nil
    
    	if line[len(line)-1] == '\n' {
    		drop := 1
    		if len(line) > 1 && line[len(line)-2] == '\r' {
    			drop = 2
    		}
    		line = line[:len(line)-drop]
    	}
    	return
    }
    
    // collectFragments reads until the first occurrence of delim in the input. It
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

        }
    
        @Test
        @DisplayName("acquire after release reacquires transport")
        void testAcquireReacquiresTransport() {
            SmbSessionImpl session = newSession();
    
            // Drop usage to zero which releases transport and flips transportAcquired=false
            session.release();
            clearInvocations(transport);
    
            // Re-acquire should reacquire transport
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/manually.md

    </div>
    
    A similar process would apply to any other ASGI server program.
    
    /// tip
    
    By adding the `standard`, Uvicorn will install and use some recommended extra dependencies.
    
    That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost.
    
    When you install FastAPI with something like `pip install "fastapi[standard]"` you already get `uvicorn[standard]` as well.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[16] *}
    
    ### Testen Sie es in der API-Dokumentation
    
    Weil die erlaubten Werte für den *Pfad-Parameter* nun vordefiniert sind, kann die interaktive Dokumentation sie als Auswahl-Drop-Down anzeigen:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### Mit Python-*<abbr title="Enumeration – Aufzählung">Enums</abbr>* arbeiten
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                // RID is the last subauthority
                assertEquals(1029, sid.getRid());
                // getDomainSid should drop the last subauthority
                assertEquals("S-1-5-21-1-2-3", sid.getDomainSid().toString());
            }
    
            @Test
            @DisplayName("Textual constructor with hex identifier authority")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @DisplayName("acquire after release reacquires underlying tree connection")
        void acquireAfterReleaseReacquires() {
            // After dropping to zero, acquire() should reacquire the underlying connection
            // Drop usage to zero
            handle.release();
            verify(treeConnection, times(1)).release();
    
            // Acquire from 0 -> 1 should acquire underlying
            when(treeConnection.acquire()).thenReturn(treeConnection);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top