Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 426 for Positions (0.23 sec)

  1. guava/src/com/google/common/base/Splitter.java

                    int separatorLength = separator.length();
    
                    positions:
                    for (int p = start, last = toSplit.length() - separatorLength; p <= last; p++) {
                      for (int i = 0; i < separatorLength; i++) {
                        if (toSplit.charAt(i + p) != separator.charAt(i)) {
                          continue positions;
                        }
                      }
                      return p;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. 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)
  3. src/vendor/golang.org/x/text/unicode/bidi/bidi.go

    // The direction may be LeftToRight, RightToLeft, Mixed, or Neutral.
    func (p *Paragraph) Direction() Direction {
    	return p.o.Direction()
    }
    
    // TODO: what happens if the position is > len(input)? This should return an error.
    
    // RunAt reports the Run at the given position of the input text.
    //
    // This method can be used for computing line breaks on paragraphs.
    func (p *Paragraph) RunAt(pos int) Run {
    	c := 0
    	runNumber := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top