Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2291 - 2300 of 3,174 for lisp (0.08 sec)

  1. docs_src/sql_databases/tutorial001_py39.py

        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: Session = Depends(get_session)) -> Hero:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/disk/type_linux.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import "strconv"
    
    // fsType2StringMap - list of filesystems supported on linux
    var fsType2StringMap = map[string]string{
    	"1021994":  "TMPFS",
    	"137d":     "EXT",
    	"4244":     "HFS",
    	"4d44":     "MSDOS",
    	"52654973": "REISERFS",
    	"5346544e": "NTFS",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.time.Duration;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.List;
    import java.util.Locale;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.FutureTask;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/encoder.md

    # JSON Compatible Encoder
    
    Існують випадки, коли вам може знадобитися перетворити тип даних (наприклад, модель Pydantic) в щось сумісне з JSON (наприклад, `dict`, `list`, і т. д.).
    
    Наприклад, якщо вам потрібно зберегти це в базі даних.
    
    Для цього, **FastAPI** надає `jsonable_encoder()` функцію.
    
    ## Використання `jsonable_encoder`
    
    Давайте уявимо, що у вас є база даних `fake_db`, яка приймає лише дані, сумісні з JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. ci/official/bisect.sh

    #
    #   export TFCI=...
    #   export TF_BISECT_SCRIPT=ci/official/any.sh
    #   export TF_BISECT_GOOD=a_good_commit_sha
    #   export TF_BISECT_BAD=a_failing_commit_sha
    #   export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    #   export TF_ANY_MODE=test
    set -exo pipefail
    cd "$(dirname "$0")/../../"  # tensorflow/
    export TFCI="$(echo $TFCI | sed 's/,nightly_upload/,public_cache,disk_cache/')"
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

        )
    
        val excludes = listOf("**/internal/**")
    
        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

    import com.google.common.io.BaseEncoding;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Objects;
    import java.util.Set;
    import java.util.SortedMap;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    				sys.hc = m
    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    func (sys *BucketTargetSys) reloadHealthCheckers(ctx context.Context) {
    	m := make(map[string]epHealth)
    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

      @CollectionFeature.Require(SERIALIZABLE)
      /*
       * As the class docs say, this test only makes sense for collections that define equals().
       * Accordingly, our testing framework adds it only when testing an implementation of List, Set, or
       * Multiset.
       */
      @SuppressWarnings("UndefinedEquals")
      public void testReserialize() {
        assertEquals(SerializableTester.reserialize(actualContents()), actualContents());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

            def operatorChanged = oldIsOperator != newIsOperator
            def infixChanged = oldIsInfix != newIsInfix
    
            if (operatorChanged || infixChanged) {
                List<String> changes = []
                if (operatorChanged) {
                    changes.add(modifierChangeDetail("operator", newIsOperator))
                }
                if (infixChanged) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top