Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,195 for IsSource (0.14 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

    import org.apache.maven.building.StringSource;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a settings source.
     *
     *
     * @deprecated instead use {@link StringSource}
     */
    @Deprecated
    public class StringSettingsSource extends StringSource implements SettingsSource {
    
        /**
         * Creates a new settings source backed by the specified string.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

      val onException: (IOException) -> Unit,
    ) : ForwardingSink(delegate) {
      private var hasErrors = false
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
      override fun flush() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(
      val source: BufferedSource,
    ) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. cmd/local-locker_test.go

    	rResources := make([]string, 1000)
    	quorum := 0
    	l := newLocker()
    	ctx := t.Context()
    	for i := range wResources {
    		arg := dsync.LockArgs{
    			UID:       mustGetUUID(),
    			Resources: []string{mustGetUUID()},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    &quorum,
    		}
    		ok, err := l.Lock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testPaddedPartition_empty() {
        Iterator<Integer> source = emptyIterator();
        Iterator<List<Integer>> partitions = Iterators.paddedPartition(source, 1);
        assertFalse(partitions.hasNext());
      }
    
      public void testPaddedPartition_singleton1() {
        Iterator<Integer> source = singletonIterator(1);
        Iterator<List<Integer>> partitions = Iterators.paddedPartition(source, 1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
  6. .github/workflows/test-redistribute.yml

            with:
              python-version: "3.10"
          - name: Install build dependencies
            run: pip install build
          - name: Build source distribution
            env:
              TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }}
            run: python -m build --sdist
          - name: Decompress source distribution
            run: |
              cd dist
              tar xvf fastapi*.tar.gz
          - name: Install test dependencies
            run: |
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 21 13:03:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          )
        stream.writeHeaders(
          responseHeaders = responseHeaders,
          outFinished = false,
          flushHeaders = false,
        )
        file.source().use { source ->
          stream.sink.buffer().use { sink ->
            sink.writeAll(source)
          }
        }
      }
    
      private fun contentType(file: File): String =
        when {
          file.name.endsWith(".css") -> "text/css"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

    import org.apache.maven.building.FileSource;
    
    /**
     * Wraps an ordinary {@link File} as a settings source.
     *
     *
     * @deprecated instead use {@link FileSource}
     */
    @Deprecated
    public class FileSettingsSource extends FileSource implements SettingsSource {
    
        /**
         * Creates a new settings source backed by the specified file.
         *
         * @param settingsFile The settings file, must not be {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

    import java.net.URL;
    
    import org.apache.maven.building.UrlSource;
    
    /**
     * Wraps an ordinary {@link URL} as a settings source.
     *
     *
     * @deprecated instead use {@link UrlSource}
     */
    @Deprecated
    public class UrlSettingsSource extends UrlSource implements SettingsSource {
    
        /**
         * Creates a new model source backed by the specified URL.
         *
         * @param settingsUrl The settings URL, must not be {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

         */
        public abstract ConfigurableFileCollection getCssFiles();
    
        /**
         * The source code to be documented. This should be the "public" APIs.
         */
        public abstract ConfigurableFileCollection getDocumentedSource();
    
        /**
         * Source code root folders. Java, Groovy and Kotlin public API sources, including
         * generated code.
         */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top