Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 109 for untouched (0.19 sec)

  1. test/fixedbugs/issue13162.go

    import (
    	"fmt"
    	"os"
    )
    
    func check(n int) {
    	var i int
    	var r rune
    
    	b := make([]byte, n)
    	for i = range b {
    		b[i] = byte(i + 1)
    	}
    	s := string(b)
    
    	// When n == 0, i is untouched by the range loop.
    	// Picking an initial value of -1 for i makes the
    	// "want" calculation below correct in all cases.
    	i = -1
    	for i = range s {
    		b[i] = s[i]
    	}
    	if want := n - 1; i != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 18:17:20 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_tensor_handle.h

      // the tensor handle can be an error and return non-OK status.
      virtual tensorflow::Status TensorHandleStatus() const;
    
      // Returns tensor shape. If tensor has unknown rank, shape remains untouched.
      virtual tensorflow::Status Shape(
          tensorflow::PartialTensorShape* shape) const = 0;
    
      // Returns tensor (full) type.
      // While there is no immediate plan to deprecate dtype and shape in favor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

              }
            }
          }
        });
      });
      return success();
    }
    
    // Legalize StableHLO portion of program to VHLO, leaves TFL untouched
    LogicalResult ApplyStablehloToVhloPatterns(ModuleOp module,
                                               bool is_func_legal) {
      MLIRContext *context = module.getContext();
      ConversionTarget target(*context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir

      "tf_saved_model.asset"() {filename = "assets/mydata.txt", sym_name = "__tf_saved_model_asset0_mydata.txt"} : () -> ()
    // Session initializer ops and asset ops untouched.
    // CHECK: "tf_saved_model.session_initializer"() <{initializers = [@NoOp]}> : () -> ()
    // CHECK: "tf_saved_model.asset"() <{filename = "assets/mydata.txt", sym_name = "__tf_saved_model_asset0_mydata.txt"}> : () -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

    // Check that the initializers attribute is untouched.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: initializers = [@NoOp]
    
      func.func @NoOp()
        attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_NoOp"], tf_saved_model.initializer_type = "init_op"} {
        return
      }
    // The initializer function is untouched when the main function is empty.
    // CHECK: func.func @NoOp
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    				rt.runner.SetAdditionalFlags(rt.setAdditionalFlags)
    			}
    
    			rt.runner.BindToCommand(cmd)
    
    			// in case of no phases, checks that cmd is untouched
    			if len(rt.runner.Phases) == 0 {
    				if cmd.Long != "" {
    					t.Error("cmd.Long is set while it should be leaved untouched\n")
    				}
    
    				if cmd.Flags().Lookup("skip-phases") != nil {
    					t.Error("cmd has skip-phases flag while it should not\n")
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
            };
    
        // It should pass through untouched
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (SomeUncheckedException e) {
          assertSame(exception, e);
        }
      }
    
      public void testExceptionAfterEndOfData() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. src/container/ring/ring.go

    // as nil Ring pointers. The zero value for a Ring is a one-element
    // ring with a nil Value.
    type Ring struct {
    	next, prev *Ring
    	Value      any // for use by client; untouched by this library
    }
    
    func (r *Ring) init() *Ring {
    	r.next = r
    	r.prev = r
    	return r
    }
    
    // Next returns the next ring element. r must not be empty.
    func (r *Ring) Next() *Ring {
    	if r.next == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/preflight.go

    			"Once ready, the upgrade can be initiated by skipping the preflight check. During the upgrade, " +
    			"kubeadm will migrate the configuration while leaving the listed plugin configs untouched, " +
    			"but cannot guarantee that they will work with the newer version of CoreDNS.")
    		return errors.Errorf("CoreDNS cannot migrate the following plugins:\n%s", UnsupportedPlugins)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 25 13:53:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/os/env.go

    			if name == "" && w > 0 {
    				// Encountered invalid syntax; eat the
    				// characters.
    			} else if name == "" {
    				// Valid syntax, but $ was not followed by a
    				// name. Leave the dollar character untouched.
    				buf = append(buf, s[j])
    			} else {
    				buf = append(buf, mapping(name)...)
    			}
    			j += w
    			i = j + 1
    		}
    	}
    	if buf == nil {
    		return s
    	}
    	return string(buf) + s[i:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top