Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 955 for hege (0.02 seconds)

  1. guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataInput_readUTF() {
        byte[] data = new byte[17];
        data[1] = 15;
        System.arraycopy("Kilroy was here".getBytes(UTF_8), 0, data, 2, 15);
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertThat(in.readUTF()).isEqualTo("Kilroy was here");
      }
    
      public void testNewDataInput_readChar() {
        byte[] data = "qed".getBytes(UTF_16BE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSet.java

       */
      public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
        /*
         * TODO(lowasser): consider checking for ImmutableAsList here
         * TODO(lowasser): consider checking for Multiset here
         */
        // Don't refer to ImmutableSortedSet by name so it won't pull in all that code
        if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

           * TODO(cpovirk): It might be nice for our InterruptibleTask subclasses to null out their
           *  `callable` fields automatically. That would make it less important for us to null out the
           * reference to `task` here (though it's still nice to do so in case our reference to the
           * executor keeps it alive). Ideally, nulling out `callable` would be the responsibility of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            //             <artifactId>yoko-core</artifactId>
            //             <version>${version}</version>
            //         </dependency>
            // ...
            //
            // And the range is not set so we'll check here and set it. jvz.
    
            if (range == null) {
                range = VersionRange.createFromVersion(artifact.getVersion());
            }
    
            DefaultArtifact clone = new DefaultArtifact(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    This time, it will overwrite the method `APIRoute.get_route_handler()`.
    
    This method returns a function. And that function is what will receive a request and return a response.
    
    Here we use it to create a `GzipRequest` from the original request.
    
    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | Technical Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. cmd/last-minute.go

    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    const (
    	sizeLessThan1KiB = iota
    	sizeLessThan1MiB
    	sizeLessThan10MiB
    	sizeLessThan100MiB
    	sizeLessThan1GiB
    	sizeGreaterThan1GiB
    	// Add new entries here
    
    	sizeLastElemMarker
    )
    
    // sizeToTag converts a size to a tag.
    func sizeToTag(size int64) int {
    	switch {
    	case size < 1024:
    		return sizeLessThan1KiB
    	case size < 1024*1024:
    		return sizeLessThan1MiB
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         * <br/>
         * For example,
         * <pre>maven.relocations.entries = org.foo:*:*>, \\<br/>    org.here:*:*>org.there:*:*, \\<br/>    javax.inject:javax.inject:1>>jakarta.inject:jakarta.inject:1.0.5</pre>
         * means: 3 entries, ban <code>org.foo group</code> (exactly, so <code>org.foo.bar</code> is allowed),
         * relocate <code>org.here</code> to <code>org.there</code> and finally globally relocate (see <code>&gt;&gt;</code> above)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  9. .teamcity/performance-tests-ci.json

        "groups" : [ {
          "testProject" : "largeJavaMultiProject",
          "comment" : "We only test the multi-project here since for the monolithic project we would have no cache hits. This would mean we actually would test incremental compilation.",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 21:56:33 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top