Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for SubPtr (0.19 sec)

  1. tensorflow/cc/framework/cc_op_gen.cc

      auto dot_pos = fname.rfind('.');
      if (dot_pos == string::npos) {
        return strings::StrCat(fname, "_internal");
      } else {
        return strings::StrCat(fname.substr(0, dot_pos), "_internal",
                               fname.substr(dot_pos));
      }
    }
    
    }  // namespace
    
    void WriteCCOps(const OpList& ops, const ApiDefMap& api_def_map,
                    const string& dot_h_fname, const string& dot_cc_fname) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go

    		return tag[:idx], tagOptions(tag[idx+1:])
    	}
    	return tag, tagOptions("")
    }
    
    // Contains reports whether a comma-separated list of options
    // contains a particular substr flag. substr must be surrounded by a
    // string boundary or commas.
    func (o tagOptions) Contains(optionName string) bool {
    	if len(o) == 0 {
    		return false
    	}
    	s := string(o)
    	for s != "" {
    		var next string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 13.1K bytes
    - Viewed (0)
  3. src/net/http/requestwrite_test.go

    			}
    		}
    	}
    }
    
    func TestRequestWriteTransport(t *testing.T) {
    	t.Parallel()
    
    	matchSubstr := func(substr string) func(string) error {
    		return func(written string) error {
    			if !strings.Contains(written, substr) {
    				return fmt.Errorf("expected substring %q in request: %s", substr, written)
    			}
    			return nil
    		}
    	}
    
    	noContentLengthOrTransferEncoding := func(req string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    }
    
    func TestContains(t *testing.T) {
    	for _, ct := range ContainsTests {
    		if Contains(ct.str, ct.substr) != ct.expected {
    			t.Errorf("Contains(%s, %s) = %v, want %v",
    				ct.str, ct.substr, !ct.expected, ct.expected)
    		}
    	}
    }
    
    var ContainsAnyTests = []struct {
    	str, substr string
    	expected    bool
    }{
    	{"", "", false},
    	{"", "a", false},
    	{"", "abc", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/cmd/cover/html.go

    			visible.style.display = 'block';
    			location.hash = part;
    		}
    		function onChange() {
    			select(files.value);
    			window.scrollTo(0, 0);
    		}
    		if (location.hash != "") {
    			select(location.hash.substr(1));
    		}
    		if (!visible) {
    			select("file0");
    		}
    	})();
    	</script>
    </html>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    		$2 !~ /^(BPF_TIMEVAL)$/ &&
    		$2 ~ /^(BPF|DLT)_/ ||
    		$2 !~ "WMESGLEN" &&
    		$2 ~ /^W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", $2, $2)}
    		$2 ~ /^__WCOREFLAG$/ {next}
    		$2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)}
    
    		{next}
    	' | sort
    
    	echo ')'
    ) >_const.go
    
    # Pull out the error names for later.
    errors=$(
    	echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    .onreadystatechange=null)},i.appendChild(f))}})};if(c)e(b,c);else{var f=function(){var c=!1;return a('script[src*="form-validator"]').each(function(){var a=this.src.split("form-validator")[1].split("node_modules").length>1;if(!a)return c=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"===c&&(c=""),!1}),c!==!1&&(e(b,c),!0)};f()||a(function(){var a=f();a||"function"==typeof d&&d()})}}})}(a),function(a){"use strict";a.split=function(b,c,d){d=void 0===d||d===!0;var e="[,|"+(d?"\\s":"")+"-]\\s*",f=new...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/converter_gen.cc

        // Emit a loop to check all operands.
        os << formatv("    for (Value v : top.getODS{0}{1}s({2})) {{\n",
                      // Capitalize the first letter to match the function name
                      valueKind.substr(0, 1).upper(), valueKind.substr(1),
                      static_value.index());
    
        os << "      (void)v;\n"
           << "      if (!("
           << tgfmt(pred.getCondition(), &fctx.withSelf("v.getType()")) << ")) {\n"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

        if (!op.getCustomCode().starts_with(kFlexOpNamePrefix)) {
          return failure();
        }
    
        llvm::StringRef tf_op_name =
            op.getCustomCode().substr(kFlexOpNamePrefix.size());
        const std::string tf_op_full_name = llvm::Twine("tf.", tf_op_name).str();
    
        // Create the TF op
        OperationState op_state(op.getLoc(), tf_op_full_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        TF_SetStatus(status, TF_INVALID_ARGUMENT,
                     "GCS path doesn't contain a bucket name.");
        return;
      }
    
      *bucket = fname.substr(scheme_end + 1, bucket_end - scheme_end - 1);
      *object = fname.substr(bucket_end + 1);
    
      if (object->empty() && !object_empty_ok) {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
                     "GCS path doesn't contain an object name.");
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
Back to top