Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for strlens (0.08 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. docs_src/templates/static/styles.css

    Sebastián Ramírez <******@****.***> 1585249793 +0100
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 25 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/util/Encdec.java

            }
        }
    
    
        public static int enc_utf8 ( String str, byte[] dst, int di, int dlim ) {
            int start = di, ch;
            int strlen = str.length();
    
            for ( int i = 0; di < dlim && i < strlen; i++ ) {
                ch = str.charAt(i);
                if ( ( ch >= 0x0001 ) && ( ch <= 0x007F ) ) {
                    dst[ di++ ] = (byte) ch;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. javadoc-stylesheet.css

        width:25%;
        vertical-align:middle;
    }
    /*
    Content styles
    */
    .description pre {
        margin-top:0;
    }
    .deprecatedContent {
        margin:0;
        padding:10px 0;
    }
    .docSummary {
        padding:0;
    }
    /*
    Formatting effect styles
    */
    .sourceLineNo {
        color:green;
        padding:0 30px 0 0;
    }
    h1.hidden {
        visibility:hidden;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 17 21:01:06 UTC 2013
    - 11.2K bytes
    - Viewed (0)
  10. 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)
Back to top