Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 242 for 25 (0.11 sec)

  1. bin/diff_yaml.py

        print("## Unchanged:", len(common) - changed)
    
        for k in sorted(added):
            print("+", k)
    
        for k in sorted(removed):
            print("-", k)
    
        print("##", "*" * 25)
    
        for k in sorted(common):
            if q0[k] != q1[k]:
                print("## ", k)
                s0 = yaml.safe_dump(q0[k], default_flow_style=False, indent=2)
    Python
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/async-sql-databases.md

        连接 PostgreSQL 等数据库时,需要修改 `DATABASE_URL`。
    
    ## 创建表
    
    本例中,使用 Python 文件创建表,但在生产环境中,应使用集成迁移等功能的 Alembic 创建表。
    
    本例在启动 **FastAPI** 应用前,直接执行这些操作。
    
    * 创建 `engine`
    * 使用 `metadata` 对象创建所有表
    
    ```Python hl_lines="25-28"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    ## 创建模型
    
    创建以下 Pydantic 模型:
    
    * 创建笔记的模型(`NoteIn`)
    * 返回笔记的模型(`Note`)
    
    ```Python hl_lines="31-33  36-39"
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:44:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/role/admin_role_details.jsp

                                    <table class="table table-bordered">
                                        <tbody>
                                        <tr>
                                            <th style="width: 25%"><la:message key="labels.role_name"/></th>
                                            <td>${f:h(name)}<la:hidden property="name"/></td>
                                        </tr>
                                        </tbody>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  4. cmd/update-notifier.go

    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    	// Box cannot be printed if terminal width is small than maxContentWidth
    	if maxContentWidth > termWidth {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. internal/grid/handlers_string.go

    	_ = x[HandlerRenameFile-19]
    	_ = x[HandlerReadAll-20]
    	_ = x[HandlerServerVerify-21]
    	_ = x[HandlerTrace-22]
    	_ = x[HandlerListen-23]
    	_ = x[HandlerDeleteBucketMetadata-24]
    	_ = x[HandlerLoadBucketMetadata-25]
    	_ = x[HandlerReloadSiteReplicationConfig-26]
    	_ = x[HandlerReloadPoolMeta-27]
    	_ = x[HandlerStopRebalance-28]
    	_ = x[HandlerLoadRebalanceMeta-29]
    	_ = x[HandlerLoadTransitionTierConfig-30]
    	_ = x[HandlerDeletePolicy-31]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        stopwatch.start();
        ticker.advance(9);
        stopwatch.stop();
    
        ticker.advance(16);
    
        stopwatch.start();
        assertEquals(9, stopwatch.elapsed(NANOSECONDS));
        ticker.advance(25);
        assertEquals(34, stopwatch.elapsed(NANOSECONDS));
    
        stopwatch.stop();
        ticker.advance(36);
        assertEquals(34, stopwatch.elapsed(NANOSECONDS));
      }
    
      public void testElapsed_micros() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. cmd/admin-server-info.go

    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    	// Truncate GC stats to max 5 entries.
    	if len(gcStats.PauseEnd) > 5 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

        public String toString() {
            int count, i;
            String str;
    
            StringBuffer sb = new StringBuffer();
            sb.append( isAllow() ? "Allow " : "Deny  " );
            appendCol(sb, sid.toDisplayString(), 25);
            sb.append( " 0x" ).append( Hexdump.toHexString( access, 8 )).append(' ');
            sb.append(isInherited() ? "Inherited " : "Direct    ");
            appendCol(sb, getApplyToText(), 34);
            return sb.toString();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_details.jsp

                                    <table class="table table-bordered">
                                        <tbody>
                                        <tr>
                                            <th style="width: 25%"><la:message
                                                    key="labels.dict_stopwords_source"/></th>
                                            <td>${f:h(input)}<la:hidden property="input"/></td>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 7.2K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_details.jsp

                                    <table class="table table-bordered">
                                        <tbody>
                                        <tr>
                                            <th style="width: 25%"><la:message
                                                    key="labels.dict_protwords_source"/></th>
                                            <td>${f:h(input)}<la:hidden property="input"/></td>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 7.2K bytes
    - Viewed (0)
Back to top