Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for depth (0.01 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
        public int getDepth() {
            return depth;
        }
    
        public void setDepth(int depth) {
            this.depth = depth;
        }
    
        public boolean isResolved() {
            return resolved;
        }
    
        public void setResolved(boolean resolved) {
            this.resolved = resolved;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. internal/s3select/jstream/decoder_test.go

          "nested2": { "nested2arr": [0,1,2], "nested3": {
            "nested4": { "depth": "recursion" }}
    			}
    		}
      },
      "2": {
        "nullfield": null,
        "id": -2
      }
    }`
    	)
    
    	decoder := NewDecoder(mkReader(body), 2)
    
    	for mv = range decoder.Stream() {
    		counter++
    		t.Logf("depth=%d offset=%d len=%d (%v)", mv.Depth, mv.Offset, mv.Length, mv.Value)
    	}
    
    	if err := decoder.Err(); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. .github/workflows/check-commits.yml

        permissions:
          contents: read
          issues: write
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v6
            with:
              fetch-depth: 0
          - name: Set up JDK 17
            uses: actions/setup-java@v5
            with:
              distribution: 'temurin'
              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            this.remoteRepositories = remoteRepositories;
            depth = 0;
            parents = Collections.emptyList();
            parent = null;
        }
    
        public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories, ResolutionNode parent) {
            this.artifact = artifact;
            this.remoteRepositories = remoteRepositories;
            depth = parent.depth + 1;
            parents = new ArrayList<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  5. .github/workflows/pre-commit.yml

              # merge commit
              ref: ${{ github.head_ref }}
              # And it needs the full history to be able to compute diffs
              fetch-depth: 0
              # A token other than the default GITHUB_TOKEN is needed to be able to trigger CI
              token: ${{ secrets.PRE_COMMIT }}
          # pre-commit lite ci needs the default checkout configs to work
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 23 11:17:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. internal/s3select/jstream/README.md

    
    `jstream` is a streaming JSON parser and value extraction library for Go.
    
    Unlike most JSON parsers, `jstream` is document position- and depth-aware -- this enables the extraction of values at a specified depth, eliminating the overhead of allocating encompassing arrays or objects; e.g:
    
    Using the below example document:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            }
            return builder.toString()
        }
    
        def format(Node node, Appendable target, int depth, boolean prettyPrint, boolean indentSelf) {
            if (node instanceof Element) {
                Element element = (Element) node
    
                if (indentSelf && depth > 0) {
                    target.append('\n')
                    depth.times { target.append('    ') }
                }
    
                target.append("<${element.tagName}")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Click Count (0)
  8. internal/logger/logonce.go

    func unwrapErrs(err error) (leafErr error) {
    	uerr := errors.Unwrap(err)
    	depth := 1
    	for uerr != nil {
    		// Save the current `uerr`
    		leafErr = uerr
    		// continue to look for leaf errors underneath
    		uerr = errors.Unwrap(leafErr)
    		depth++
    		if depth == unwrapErrsDepth {
    			// If we have reached enough depth we
    			// do not further recurse down, this
    			// is done to avoid any unnecessary
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. internal/s3select/jstream/errors.go

    )
    
    // Predefined errors
    var (
    	ErrSyntax        = DecoderError{msg: "invalid character"}
    	ErrUnexpectedEOF = DecoderError{msg: "unexpected end of JSON input"}
    	ErrMaxDepth      = DecoderError{msg: "maximum recursion depth exceeded"}
    )
    
    type errPos [2]int // line number, byte offset where error occurred
    
    // DecoderError contains a detailed decoding error.
    type DecoderError struct {
    	msg       string // description of error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @Test
        void testDefaultPolicy() throws Exception {
            MetadataGraphEdge res;
    
            res = policy.apply(e1, e2);
            assertEquals("1.1", res.getVersion(), "Wrong depth edge selected");
    
            res = policy.apply(e1, e3);
            assertEquals("1.2", res.getVersion(), "Wrong version edge selected");
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top