Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 409 for Positions (0.13 sec)

  1. src/regexp/exec_test.go

    			text, input = input[0], input[1:]
    			if !isSingleBytes(text) && strings.Contains(re.String(), `\B`) {
    				// RE2's \B considers every byte position,
    				// so it sees 'not word boundary' in the
    				// middle of UTF-8 sequences. This package
    				// only considers the positions between runes,
    				// so it disagrees. Skip those cases.
    				continue
    			}
    			res := strings.Split(line, ";")
    			if len(res) != len(run) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/text/scanner/scanner_test.go

    			t.Errorf("tok = %q, want %q", s.TokenText(), string(ch))
    		}
    	}
    	checkPos(t, s.Position, want)
    }
    
    func TestPos(t *testing.T) {
    	// corner case: empty source
    	s := new(Scanner).Init(strings.NewReader(""))
    	checkPos(t, s.Pos(), Position{Offset: 0, Line: 1, Column: 1})
    	s.Peek() // peek doesn't affect the position
    	checkPos(t, s.Pos(), Position{Offset: 0, Line: 1, Column: 1})
    
    	// corner case: source with only a newline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

      //
      // The returned vector has at most 2 entries for each tensor referenced in
      // [remat.begin, remat.end). There may be multiple entries for a single
      // operation position; operation positions refer to the sequence *after*
      // cloning [`remat.begin`, `remat.end`) before `remat.insert`.
      std::vector<MemSpec> GetDeltas(const RematSpec& remat) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      //   - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
      //     non-intersecting elements in `Y` are appended, retaining their partial order.
      //   - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    		if eq != types.True {
    			return eq // either false or error
    		}
    	}
    	return types.True
    }
    
    // Add for a map list `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
    // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
    // non-intersecting keys are appended, retaining their partial order.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_launch_util.h

    // compilation_result are missing in `inputs` and adjusts indexing into `inputs`
    // accordingly.
    // `input_mapping` is a vector that maps from the parameters of the
    // XlaComputation to their original argument positions. This can be sourced from
    // `XlaCompiler::CompilationResult::input_mapping`.
    // `variable_snapshots` is a map of {index of the input to the
    // compilation_result -> underlying Tensor the variable is/was pointing to (i.e.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go

    	//   - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
    	//     non-intersecting elements in `Y` are appended, retaining their partial order.
    	//   - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  8. src/internal/coverage/defs.go

    // This version assumes that we're looking at a function before inlining;
    // if we want to capture a post-inlining view of the world, the
    // representations of source positions would need to be a good deal more
    // complicated.
    type FuncDesc struct {
    	Funcname string
    	Srcfile  string
    	Units    []CoverableUnit
    	Lit      bool // true if this is a function literal
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. test/inline.go

    	if issue62211F(x) { // ERROR "inlining call to issue62211F"
    	}
    	if issue62211G(x) { // ERROR "inlining call to issue62211G"
    	}
    
    	// Initial fix CL caused a "non-monotonic scope positions" failure
    	// on code like this.
    	if z := 0; false {
    		panic(z)
    	}
    }
    
    func issue62211F(x bool) bool { // ERROR "can inline issue62211F"
    	if x || true {
    		return true
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. src/debug/pe/file_test.go

    		// In order to identify this portion, the original image was first parsed by modified debug/pe package.
    		// Modification essentially communicated reader's positions before and after parsing.
    		// Finally, bytes between those positions where written to a separate file,
    		// generating trimmed down version Linux Kernel image used in this test case.
    		file: "testdata/vmlinuz-4.15.0-47-generic",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top