Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for badwidth (0.28 sec)

  1. src/fmt/doc.go

    		Printf("hi", "guys"):      hi%!(EXTRA string=guys)
    	Too few arguments: %!verb(MISSING)
    		Printf("hi%d"):            hi%!d(MISSING)
    	Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
    		Printf("%*s", 4.5, "hi"):  %!(BADWIDTH)hi
    		Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
    	Invalid or invalid use of argument index: %!(BADINDEX)
    		Printf("%*[2]d", 7):       %!d(BADINDEX)
    		Printf("%.[2]d", 7):       %!d(BADINDEX)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    		if dostrcmp > 1 {
    			// Already in the process of diagnosing an error.
    			return f1
    		}
    		if f2 != nil {
    			base.Errorf("%v is both field and method", n.Sel)
    		}
    		if f1.Offset == types.BADWIDTH {
    			base.Fatalf("Lookdot badwidth t=%v, f1=%v@%p", t, f1, f1)
    		}
    		n.Selection = f1
    		n.SetType(f1.Type)
    		if t.IsInterface() {
    			if n.X.Type().IsPtr() {
    				star := ir.NewStarExpr(base.Pos, n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/assign.go

    		if tmp, ok := l.(*ir.Name); !ok || !tmp.AutoTemp() || !types.Identical(tmp.Type(), r.Type) {
    			base.FatalfAt(l.Pos(), "assigning %v to %+v", r.Type, l)
    		}
    
    		res := ir.NewResultExpr(base.Pos, nil, types.BADWIDTH)
    		res.Index = int64(i)
    		res.SetType(r.Type)
    		res.SetTypecheck(1)
    
    		nn.Append(ir.NewAssignStmt(base.Pos, l, res))
    	}
    	return nn
    }
    
    // check assign expression list to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/fmt.go

    		}
    		k := tf.Type.Kind()
    		if reflect.Bool <= k && k <= reflect.Complex128 {
    			name := strings.TrimSuffix(tf.Name, "_")
    			vf := v.Field(i)
    			vfi := vf.Interface()
    			if name == "Offset" && vfi == types.BADWIDTH || name != "Offset" && vf.IsZero() {
    				continue
    			}
    			if vfi == true {
    				fmt.Fprintf(w, " %s", name)
    			} else {
    				fmt.Fprintf(w, " %s:%+v", name, vf.Interface())
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  5. src/fmt/print.go

    	mapString         = "map["
    	percentBangString = "%!"
    	missingString     = "(MISSING)"
    	badIndexString    = "(BADINDEX)"
    	panicString       = "(PANIC="
    	extraString       = "%!(EXTRA "
    	badWidthString    = "%!(BADWIDTH)"
    	badPrecString     = "%!(BADPREC)"
    	noVerbString      = "%!(NOVERB)"
    	invReflectString  = "<invalid reflect.Value>"
    )
    
    // State represents the printer state passed to custom formatters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  6. src/text/tabwriter/tabwriter.go

    		// padding is done with tabs
    		if b.tabwidth == 0 {
    			return // tabs have no width - can't do any padding
    		}
    		// make cellw the smallest multiple of b.tabwidth
    		cellw = (cellw + b.tabwidth - 1) / b.tabwidth * b.tabwidth
    		n := cellw - textw // amount of padding
    		if n < 0 {
    			panic("internal error")
    		}
    		b.writeN(tabs, (n+b.tabwidth-1)/b.tabwidth)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

      // type.
      const int bitwidth = storage_type.getIntOrFloatBitWidth();
      const bool is_weight_buffer = is_constant && (bitwidth == 8);
    
      int64_t storage_min =
          QuantizedType::getDefaultMinimumForInteger(is_signed, bitwidth) +
          static_cast<int>(is_weight_buffer);
      int64_t storage_max =
          QuantizedType::getDefaultMaximumForInteger(is_signed, bitwidth);
      uint32_t flags =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (content == null) {
                return StringUtil.EMPTY; // empty
            }
    
            String subContent;
            if (content.length() < maxWidth * 2) {
                subContent = content;
            } else {
                subContent = content.substring(0, maxWidth * 2);
            }
    
            final int[] spaceChars = getSpaceChars();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/size.go

    				t.SetNotInHeap(true)
    			}
    		}
    
    		offset += f.Type.width
    
    		maxwidth := MaxWidth
    		// On 32-bit systems, reflect tables impose an additional constraint
    		// that each field start offset must fit in 31 bits.
    		if maxwidth < 1<<32 {
    			maxwidth = 1<<31 - 1
    		}
    		if offset >= maxwidth {
    			base.ErrorfAt(typePos(t), 0, "type %L too large", t)
    			offset = 8 // small but nonzero
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/notification.go

    		peersLogOnceIf(ctx, err, sys.peerClients[index].host.String())
    	}
    	reports = append(reports, globalBucketMonitor.GetReport(bandwidth.SelectBuckets(buckets...)))
    	consolidatedReport := bandwidth.BucketBandwidthReport{
    		BucketStats: make(map[bandwidth.BucketOptions]bandwidth.Details),
    	}
    	for _, report := range reports {
    		if report == nil || report.BucketStats == nil {
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
Back to top