Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for CTYPE (0.07 sec)

  1. src/net/http/cgi/host.go

    	}
    
    	if req.ContentLength > 0 {
    		env = append(env, fmt.Sprintf("CONTENT_LENGTH=%d", req.ContentLength))
    	}
    	if ctype := req.Header.Get("Content-Type"); ctype != "" {
    		env = append(env, "CONTENT_TYPE="+ctype)
    	}
    
    	envPath := os.Getenv("PATH")
    	if envPath == "" {
    		envPath = "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
    	}
    	env = append(env, "PATH="+envPath)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/net/http/fs.go

    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    			// read a chunk to decide between utf-8 text and binary
    			var buf [sniffLen]byte
    			n, _ := io.ReadFull(content, buf[:])
    			ctype = DetectContentType(buf[:n])
    			_, err := content.Seek(0, io.SeekStart) // rewind to output whole file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

      SmallVector<int64_t, 4> shape;
      ConvertToMlirShape(input_shape, &shape);
      auto type = RankedTensorType::get(shape, elt_type);
    
    #define CONVERT_FLAT(DTYPE, CTYPE) \
      case DTYPE:                      \
        return ConvertFlatTensor<CTYPE>(input_tensor, type);
    
      // TODO(fengliuai): customize the conversions for quantized types.
      switch (input_dtype) {
        CONVERT_FLAT(DT_BOOL, bool)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. src/database/sql/fakedb_test.go

    		}
    		column, value := nameVal[0], nameVal[1]
    		ctype, ok := c.db.columnType(stmt.table, column)
    		if !ok {
    			stmt.Close()
    			return nil, errf("INSERT table %q references non-existent column %q", stmt.table, column)
    		}
    		stmt.colName = append(stmt.colName, column)
    
    		if !strings.HasPrefix(value, "?") {
    			var subsetVal any
    			// Convert to driver subset type
    			switch ctype {
    			case "string":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/syscall/mkerrors.sh

    echo ')'
    
    # Run C program to print error and syscall strings.
    (
    	echo -E "
    #include <stdio.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <ctype.h>
    #include <string.h>
    #include <signal.h>
    
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
    
    int errors[] = {
    "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  6. src/net/http/request_test.go

    	b := strings.NewReader(strings.ReplaceAll(message, "\n", "\r\n"))
    	req, err := NewRequest("POST", "/", b)
    	if err != nil {
    		t.Fatal("NewRequest:", err)
    	}
    	ctype := fmt.Sprintf(`multipart/form-data; boundary="%s"`, boundary)
    	req.Header.Set("Content-type", ctype)
    	return req
    }
    
    func validateTestMultipartContents(t *testing.T, req *Request, allMem bool) {
    	if g, e := req.FormValue("texta"), textaValue; g != e {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    echo ')'
    
    # Run C program to print error and syscall strings.
    (
    	echo -E "
    #include <stdio.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <ctype.h>
    #include <string.h>
    #include <signal.h>
    
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
    
    struct tuple {
    	int num;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    #if GTEST_OS_LINUX
    # include <stdlib.h>
    # include <sys/types.h>
    # include <sys/wait.h>
    # include <unistd.h>
    #endif  // GTEST_OS_LINUX
    
    #if GTEST_HAS_EXCEPTIONS
    # include <stdexcept>
    #endif
    
    #include <ctype.h>
    #include <float.h>
    #include <string.h>
    #include <iomanip>
    #include <limits>
    #include <set>
    
    #include "gtest/gtest-message.h"
    #include "gtest/internal/gtest-string.h"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    #if GTEST_OS_LINUX
    # include <stdlib.h>
    # include <sys/types.h>
    # include <sys/wait.h>
    # include <unistd.h>
    #endif  // GTEST_OS_LINUX
    
    #if GTEST_HAS_EXCEPTIONS
    # include <stdexcept>
    #endif
    
    #include <ctype.h>
    #include <float.h>
    #include <string.h>
    #include <iomanip>
    #include <limits>
    #include <set>
    
    #include "gtest/gtest-message.h"
    #include "gtest/internal/gtest-string.h"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
Back to top