Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,072 for SOURCE (1.8 sec)

  1. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testPartition_badSize() {
        Iterable<Integer> source = singleton(1);
        assertThrows(IllegalArgumentException.class, () -> Iterables.partition(source, 0));
      }
    
      public void testPartition_empty() {
        Iterable<Integer> source = emptySet();
        Iterable<List<Integer>> partitions = Iterables.partition(source, 1);
        assertTrue(Iterables.isEmpty(partitions));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. guava-gwt/src/com/google/common/net/Net.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Feb 21 16:12:41 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

             * Interpolate the value read from the xml document
             *
             * @param source    The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                  log stuff.
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    
        @Nonnull
        static XmlReaderRequestBuilder builder() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:27 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testPartition_badSize() {
        Iterable<Integer> source = singleton(1);
        assertThrows(IllegalArgumentException.class, () -> Iterables.partition(source, 0));
      }
    
      public void testPartition_empty() {
        Iterable<Integer> source = emptySet();
        Iterable<List<Integer>> partitions = Iterables.partition(source, 1);
        assertTrue(Iterables.isEmpty(partitions));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          fileSystem.sink(path).use {
            response.body.source().readAll(it)
          }
    
          println(fileSystem.source(path).buffer().readUtf8())
        }
      }
    
      companion object {
        val MEDIA_TYPE_JSON = "application/json".toMediaType()
      }
    }
    
    fun main() {
      PostPath().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        @Inject
        private ArtifactFactory artifactFactory;
    
        private ArtifactSpec projectArtifact;
    
        private Source source;
    
        private static final String GROUP_ID = "test";
    
        @BeforeEach
        void setUp() throws Exception {
            source = new Source();
    
            projectArtifact = createArtifactSpec("project", "1.0", null);
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

          .build()
      }
    
      private fun uppercaseSink(sink: Sink): Sink =
        object : ForwardingSink(sink) {
          @Throws(IOException::class)
          override fun write(
            source: Buffer,
            byteCount: Long,
          ) {
            val bytes = source.readByteString(byteCount)
            delegate.write(
              Buffer()
                .write(bytes.toAsciiUppercase()),
              byteCount,
            )
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. LICENSES/third_party/forked/gonum/graph/LICENSE

    Copyright ©2013 The gonum Authors. All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
        * Redistributions of source code must retain the above copyright
          notice, this list of conditions and the following disclaimer.
        * Redistributions in binary form must reproduce the above copyright
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jul 08 11:48:19 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt

        deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION)
    
        val totalBytesToRead = inflater.bytesRead + deflatedBytes.size
    
        // We cannot read all, as the source does not close.
        // Instead, we ensure that all bytes from source have been processed by inflater.
        do {
          inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
        } while (inflater.bytesRead < totalBytesToRead && !inflater.finished())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/BSD-3-Clause.txt

    Copyright <YEAR> <COPYRIGHT HOLDER>
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions
    are met:
    
    1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    
    2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 1.4K bytes
    - Viewed (1)
Back to top