Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 959 for Positions (0.18 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileIntegrationTest.groovy

            JavaVersion.forClass(scalaClassFile("ScalaHall.class").bytes) == JavaVersion.VERSION_1_8
        }
    
        def "fail in case of errors and print correct positions"() {
            given:
            file("src/main/scala/Person.scala") << """
    class Person {
        def getName(): String = 42
    }
    """
            expect:
            fails(":compileScala")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/services.go

    func (d Services) Less(i, j int) bool {
    	return strings.Compare(d[i].Config().ClusterLocalFQDN(), d[j].Config().ClusterLocalFQDN()) < 0
    }
    
    // Swap switches the positions of elements at i and j (used for sorting).
    func (d Services) Swap(i, j int) {
    	d[i], d[j] = d[j], d[i]
    }
    
    // Copy this services array.
    func (d Services) Copy() Services {
    	return append(Services{}, d...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 21 16:42:24 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/diagnostic.go

    	// problem described by the diagnostic, each one representing
    	// an alternative strategy; at most one may be applied.
    	SuggestedFixes []SuggestedFix
    
    	// Related contains optional secondary positions and messages
    	// related to the primary diagnostic.
    	Related []RelatedInformation
    }
    
    // RelatedInformation contains information related to a diagnostic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/embed.txt

    [symlink] symlink t/x.link -> ../x.txt
    [symlink] ! go build -x
    [symlink] stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    cp x.txt t/x.txt
    go build -x
    
    # build reports errors with positions in imported packages
    rm t/x.txt
    ! go build m/use
    stderr '^x.go:5:12: pattern [*]t: cannot embed directory t: contains no embeddable files$'
    
    # all still ignores .git and symlinks
    cp x.go3 x.go
    ! go build -x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 18:03:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/pos.go

    func (p position_) String() string {
    	if p.line == 0 {
    		if p.filename == "" {
    			return "<unknown position>"
    		}
    		return p.filename
    	}
    	if p.col == 0 {
    		return fmt.Sprintf("%s:%d", p.filename, p.line)
    	}
    	return fmt.Sprintf("%s:%d:%d", p.filename, p.line, p.col)
    }
    
    // A PosBase represents the base for relative position information:
    // At position pos, the relative position is filename:line:col.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/go/printer/printer.go

    	// Positions
    	// The out position differs from the pos position when the result
    	// formatting differs from the source formatting (in the amount of
    	// white space). If there's a difference and SourcePos is set in
    	// ConfigMode, //line directives are used in the output to restore
    	// original source positions for a reader.
    	pos          token.Position // current position in AST (source) space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy

            then:
            decode(bytes) { Decoder decoder ->
                decoder.skipChunked()
                assert decoder.readString() == "done"
            }
        }
    
        def "can query write and read positions"() {
            def outstr = new ByteArrayOutputStream()
            def encoder = new KryoBackedEncoder(outstr)
    
            expect:
            encoder.writePosition == 0
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableSet.java

          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0);
    
      private final transient Object[] elements;
      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/internal/pkgbits/decoder.go

    	// elemEnds stores the byte-offset end positions of element
    	// bitstreams within elemData.
    	//
    	// For example, element I's bitstream data starts at elemEnds[I-1]
    	// (or 0, if I==0) and ends at elemEnds[I].
    	//
    	// Note: elemEnds is indexed by absolute indices, not
    	// section-relative indices.
    	elemEnds []uint32
    
    	// elemEndsEnds stores the index-offset end positions of relocation
    	// sections within elemEnds.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
Back to top