Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for CTYPE (0.05 sec)

  1. src/main/java/org/codelibs/core/text/Tokenizer.java

         * @param str
         *            文字列。{@literal null}であってはいけません
         * @param ctype
         *            文字のタイプの配列。{@literal null}や空配列であってはいけません
         */
        public Tokenizer(final String str, final byte[] ctype) {
            assertArgumentNotNull("str", str);
            assertArgumentNotEmpty("ctype", ctype);
    
            this.str = str;
            this.ctype = ctype;
        }
    
        /**
         * @param ctype2
         *            文字のタイプの配列
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/cgo/out.go

    			func(i int, aname string, atype ast.Expr) {
    				argField(atype, "r%d", i)
    			})
    		if ctype == "struct {\n" {
    			ctype += "\t\tchar unused;\n" // avoid empty struct
    		}
    		ctype += "\t}"
    		fmt.Fprintf(gotype, "\t}")
    
    		// Get the return type of the wrapper function
    		// compiled by gcc.
    		gccResult := ""
    		if fntype.Results == nil || len(fntype.Results.List) == 0 {
    			gccResult = "void"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. pkg/apis/batch/validation/validation.go

    		for _, cType := range []batch.JobConditionType{batch.JobFailed, batch.JobComplete, batch.JobFailureTarget} {
    			if IsConditionTrue(oldJob.Status.Conditions, cType) && !IsConditionTrue(job.Status.Conditions, cType) {
    				allErrs = append(allErrs, field.Invalid(statusFld.Child("conditions"), field.OmitValueType{}, fmt.Sprintf("cannot disable the terminal %s=True condition", string(cType))))
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/controller/job/job_controller.go

    func ensureJobConditionStatus(list []batch.JobCondition, cType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) ([]batch.JobCondition, bool) {
    	if condition := findConditionByType(list, cType); condition != nil {
    		if condition.Status != status || condition.Reason != reason || condition.Message != message {
    			*condition = *newCondition(cType, status, reason, message, now)
    			return list, true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (1)
  9. src/net/http/fs_test.go

    func testServeFileContentType(t *testing.T, mode testMode) {
    	const ctype = "icecream/chocolate"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		switch r.FormValue("override") {
    		case "1":
    			w.Header().Set("Content-Type", ctype)
    		case "2":
    			// Explicitly inhibit sniffing.
    			w.Header()["Content-Type"] = []string{}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  10. 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)
Back to top