Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 934 for _clone (0.13 seconds)

  1. guava/src/com/google/common/collect/ForwardingMap.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMap} forward <i>indiscriminately</i> to the
     * methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change the
     * behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code putAll} as well, either providing your own implementation, or delegating to the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * `server_max_window_bits`. This harms our ability to support these parameters:
     *
     *  * If `client_max_window_bits` is less than 15, OkHttp must close the web socket with code 1010.
     *    Otherwise it would compress values in a way that servers could not decompress.
     *  * If `server_max_window_bits` is less than 15, OkHttp will waste memory on an oversized buffer.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            return v4Api;
        }
    
        /**
         * Creates a shallow copy of this mojo descriptor.
         */
        @Override
        public MojoDescriptor clone() {
            try {
                return (MojoDescriptor) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. cmd/erasure-object.go

    }
    
    // update restore status header in the metadata
    func (er erasureObjects) updateRestoreMetadata(ctx context.Context, bucket, object string, objInfo ObjectInfo, opts ObjectOptions) error {
    	oi := objInfo.Clone()
    	oi.metadataOnly = true // Perform only metadata updates.
    
    	// allow retry in the case of failure to restore
    	delete(oi.UserDefined, xhttp.AmzRestore)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            }
    
            @Test
            @DisplayName("Should handle close operation")
            void testClose() throws IOException {
                // When: Closing handle
                handle.close();
    
                // Then: Should complete without errors
                assertDoesNotThrow(() -> handle.close());
            }
    
            @Test
            @DisplayName("Should return string representation")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. .github/stale.yml

    onlyLabels: []
    
    # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
    exemptLabels:
      - "security"
      - "pending discussion"
      - "do-not-close"
    
    # Set to true to ignore issues in a project (defaults to false)
    exemptProjects: false
    
    # Set to true to ignore issues in a milestone (defaults to false)
    exemptMilestones: false
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 24 04:36:59 GMT 2022
    - 2K bytes
    - Click Count (0)
  7. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

              println("failed: $e")
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              println("response: ${response.code}")
              response.close()
            }
          },
        )
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

          | * WebSocketListener
          |(It is safe to call contentType() and contentLength() on these response bodies.)
          """.trimMargin(),
        )
    
      override fun timeout() = Timeout.NONE
    
      override fun close() {
      }
    }
    
    fun Response.stripBody(): Response =
      newBuilder()
        .body(UnreadableResponseBody(body.contentType(), body.contentLength()))
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 15:19:53 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. tests/test_datastructures.py

        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
        assert file.size == 19
        await file.seek(0)
        assert await file.read() == b"data and more data!"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top