Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for strlens (0.09 sec)

  1. src/cmd/cgo/gcc.go

    	}
    
    	strs = make([]string, nnames)
    
    	strdata := make(map[int]string, nnames)
    	strlens := make(map[int]int, nnames)
    
    	buildStrings := func() {
    		for n, strlen := range strlens {
    			data := strdata[n]
    			if len(data) <= strlen {
    				fatalf("invalid string literal")
    			}
    			strs[n] = data[:strlen]
    		}
    	}
    
    	if f, err := macho.Open(gccTmp()); err == nil {
    		defer f.Close()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -		  ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8	      \
    -		     ? __builtin_strcpy (dest, src) + strlen (src)	      \
    -		     : ((char *) (__mempcpy) (dest, src, strlen (src) + 1)    \
    -			- 1))						      \
    -		  : __stpcpy (dest, src)))
    -#   else
    -#    define __stpcpy(dest, src) \
    -  (__extension__ (__builtin_constant_p (src)				      \
    -		  ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8	      \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/popper.min.js.map

    containing width and height properties\n */\nexport default function getOuterSizes(element) {\n  const window = element.ownerDocument.defaultView;\n  const styles = window.getComputedStyle(element);\n  const x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n  const y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n  const result = {\n    width: element.offsetWidth + y,\n    height: element.offsetHeight + x,\n  };\n  return result;\n}\n","/**\n...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  4. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            return groupId + ":" + artifactId + ":" + version;
        }
    
        private static void notBlank(String str, String message) {
            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_templates/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert (
            b'<h1><a href="http://testserver/items/foo">Item ID: foo</a></h1>'
            in response.content
        )
        response = client.get("/static/styles.css")
        assert response.status_code == 200, response.text
        assert b"color: green;" in response.content
        shutil.rmtree("./templates")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 22:25:37 UTC 2024
    - 910 bytes
    - Viewed (0)
  7. cmd/server-startup-msg.go

    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    )
    
    // generates format string depending on the string length and padding.
    func getFormatStr(strLen int, padding int) string {
    	formatStr := fmt.Sprintf("%ds", strLen+padding)
    	return "%" + formatStr
    }
    
    // Prints the formatted startup message.
    func printStartupMessage(apiEndpoints []string, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/templates.md

    {!../../docs_src/templates/templates/item.html!}
    ```
    
    In this example, it would link to a CSS file at `static/styles.css` with:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    And because you are using `StaticFiles`, that CSS file would be served automatically by your **FastAPI** application at the URL `/static/styles.css`.
    
    ## More details
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    本例中,它将链接到 `static/styles.css`中的CSS文件:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。
    
    ## 更多说明
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/templates.md

    ```
    
    In diesem Beispiel würde das zu einer CSS-Datei unter `static/styles.css` verlinken, mit folgendem Inhalt:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Und da Sie `StaticFiles` verwenden, wird diese CSS-Datei automatisch von Ihrer **FastAPI**-Anwendung unter der URL `/static/styles.css` bereitgestellt.
    
    ## Mehr Details
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top