Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for tostr (0.2 sec)

  1. src/cmd/compile/internal/typecheck/const.go

    	case constant.Bool:
    		if t.IsBoolean() {
    			return v
    		}
    
    	case constant.String:
    		if t.IsString() {
    			return v
    		}
    
    	case constant.Int:
    		if explicit && t.IsString() {
    			return tostr(v)
    		}
    		fallthrough
    	case constant.Float, constant.Complex:
    		switch {
    		case t.IsInteger():
    			v = toint(v)
    			return v
    		case t.IsFloat():
    			v = toflt(v)
    			v = truncfltlit(v, t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tstring.cc

      return TF_TString_GetType(str);
    }
    
    size_t TF_StringGetSize(const TF_TString *tstr) {
      return TF_TString_GetSize(tstr);
    }
    
    size_t TF_StringGetCapacity(const TF_TString *str) {
      return TF_TString_GetCapacity(str);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 25 03:28:30 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. test/ken/chan.go

    	tests(100)
    
    	t := 4 * // buffer sizes
    		(4*4 + // tests 1,2,3,4 channels
    			8 + // test 5 channels
    			12) * // test 6 channels
    		76 // sends/recvs on a channel
    
    	if tots != t || totr != t {
    		print("tots=", tots, " totr=", totr, " sb=", t, "\n")
    		os.Exit(1)
    	}
    	os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

            if (systemHelper.isChangedClusterState(status)) {
                if (fessConfig.hasNotification()) {
                    final String toStrs = fessConfig.getNotificationTo();
                    final String[] toAddresses;
                    if (StringUtil.isNotBlank(toStrs)) {
                        toAddresses = toStrs.split(",");
                    } else {
                        toAddresses = StringUtil.EMPTY_STRINGS;
                    }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/c/tf_tstring.h

    TF_CAPI_EXPORT extern const char *TF_StringGetDataPointer(
        const TF_TString *tstr);
    
    TF_CAPI_EXPORT extern TF_TString_Type TF_StringGetType(const TF_TString *str);
    
    TF_CAPI_EXPORT extern size_t TF_StringGetSize(const TF_TString *tstr);
    
    TF_CAPI_EXPORT extern size_t TF_StringGetCapacity(const TF_TString *str);
    
    TF_CAPI_EXPORT extern void TF_StringDealloc(TF_TString *tstr);
    
    #ifdef __cplusplus
    } /* end extern "C" */
    #endif
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/go/doc/testdata/example.go

    		out := <-outC
    
    		// report any errors
    		tstr := fmt.Sprintf("(%.2f seconds)", dt.Seconds())
    		if g, e := strings.TrimSpace(out), strings.TrimSpace(eg.Output); g != e {
    			fmt.Printf("--- FAIL: %s %s\ngot:\n%s\nwant:\n%s\n",
    				eg.Name, tstr, g, e)
    			ok = false
    		} else if *chatty {
    			fmt.Printf("--- PASS: %s %s\n", eg.Name, tstr)
    		}
    	}
    
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. internal/s3select/sql/timestampfuncs_test.go

    			continue
    		}
    		if !tval.Equal(tc.t) {
    			t.Errorf("Case %d: Expected %v got %v", i+1, tc.t, tval)
    			continue
    		}
    
    		tstr := FormatSQLTimestamp(tc.t)
    		if tstr != tc.s {
    			t.Errorf("Case %d: Expected %s got %s", i+1, tc.s, tstr)
    			continue
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/slice.go

    		racewriterangepc(toPtr, size, callerpc, pc)
    	}
    	if msanenabled {
    		msanread(fromPtr, size)
    		msanwrite(toPtr, size)
    	}
    	if asanenabled {
    		asanread(fromPtr, size)
    		asanwrite(toPtr, size)
    	}
    
    	if size == 1 { // common case worth about 2x to do here
    		// TODO: is this still worth it with new memmove impl?
    		*(*byte)(toPtr) = *(*byte)(fromPtr) // known to be a byte pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/archive/tar/format.go

    		// Do nothing.
    	case format.has(FormatGNU):
    		copy(b.toGNU().magic(), magicGNU)
    		copy(b.toGNU().version(), versionGNU)
    	case format.has(formatSTAR):
    		copy(b.toSTAR().magic(), magicUSTAR)
    		copy(b.toSTAR().version(), versionUSTAR)
    		copy(b.toSTAR().trailer(), trailerSTAR)
    	case format.has(FormatUSTAR | FormatPAX):
    		copy(b.toUSTAR().magic(), magicUSTAR)
    		copy(b.toUSTAR().version(), versionUSTAR)
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/go/types/example_test.go

    		var buf strings.Builder
    		posn := fset.Position(expr.Pos())
    		tvstr := tv.Type.String()
    		if tv.Value != nil {
    			tvstr += " = " + tv.Value.String()
    		}
    		// line:col | expr | mode : type = value
    		fmt.Fprintf(&buf, "%2d:%2d | %-19s | %-7s : %s",
    			posn.Line, posn.Column, exprString(fset, expr),
    			mode(tv), tvstr)
    		items = append(items, buf.String())
    	}
    	slices.Sort(items)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top