Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for xstr (0.03 sec)

  1. samples/wasm_modules/header_injector/plugin.cc

    // limitations under the License.
    
    #include "plugin.h"
    
    #ifndef INJECTION_VERSION
    #error INJECTION_VERSION must be defined
    #endif // INJECTION_VERSION
    
    #define xstr(s) str(s)
    #define str(s) #s
    
    // Boilderplate code to register the extension implementation.
    static RegisterContextFactory register_HeaderInjector(CONTEXT_FACTORY(HeaderInjectorContext),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 24 21:22:06 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. src/runtime/iface_test.go

    func (TL) Method1() {}
    func (TL) Method2() {}
    
    type T8 uint8
    type T16 uint16
    type T32 uint32
    type T64 uint64
    type Tstr string
    type Tslice []byte
    
    func (T8) Method1()     {}
    func (T16) Method1()    {}
    func (T32) Method1()    {}
    func (T64) Method1()    {}
    func (Tstr) Method1()   {}
    func (Tslice) Method1() {}
    
    var (
    	e  any
    	e_ any
    	i1 I1
    	i2 I2
    	ts TS
    	tm TM
    	tl TL
    	ok bool
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/c/tf_tstring.cc

    TF_TString_Type TF_StringGetType(const TF_TString *str) {
      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)
  4. src/cmd/go/internal/str/str.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package str provides string manipulation utilities.
    package str
    
    import (
    	"fmt"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // StringList flattens its arguments into a single []string.
    // Each argument in args must have type string or []string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K 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. operator/pkg/validate/validate.go

    	pstr := path.String()
    	msg := fmt.Sprintf("validate %s:%v(%T) ", pstr, val, val)
    	if util.IsValueNil(val) || util.IsEmptyString(val) {
    		if checkRequired && requiredValues[pstr] {
    			return util.NewErrs(fmt.Errorf("field %s is required but not set", util.ToYAMLPathString(pstr)))
    		}
    		msg += fmt.Sprintf("validate %s: OK (empty value)", pstr)
    		scope.Debug(msg)
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. operator/pkg/validate/validate_values.go

    }
    
    // ValuesValidate validates the values of the tree using the supplied Func
    func ValuesValidate(validations map[string]ValidatorFunc, node any, path util.Path) (errs util.Errors) {
    	pstr := path.String()
    	scope.Debugf("ValuesValidate %s", pstr)
    	vf := validations[pstr]
    	if vf != nil {
    		errs = util.AppendErrs(errs, vf(path, node))
    	}
    
    	nn, ok := node.(map[string]any)
    	if !ok {
    		// Leaf, nothing more to recurse.
    		return errs
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. src/testing/example.go

    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    	} else if chatty.on {
    		fmt.Printf("%s--- PASS: %s (%s)\n", chatty.prefix(), eg.Name, dstr)
    	}
    
    	if chatty.on && chatty.json {
    		fmt.Printf("%s=== NAME   %s\n", chatty.prefix(), "")
    	}
    
    	if recovered != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top