- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for disposal (0.17 sec)
-
src/image/gif/writer_test.go
} g1 := &GIF{ Image: images, Delay: make([]int, len(images)), Disposal: make([]byte, 1), } for i := range g1.Disposal { g1.Disposal[i] = DisposalNone } if err := EncodeAll(io.Discard, g1); err == nil { t.Error("expected error from mismatched disposal and image slice lengths") } } func TestEncodeZeroGIF(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 19K bytes - Viewed (0) -
src/image/gif/writer.go
} e := encoder{g: *g} // The GIF.Disposal, GIF.Config and GIF.BackgroundIndex fields were added // in Go 1.5. Valid Go 1.4 code, such as when the Disposal field is omitted // in a GIF struct literal, should still produce valid GIFs. if e.g.Disposal != nil && len(e.g.Image) != len(e.g.Disposal) { return errors.New("gif: mismatched image and disposal lengths") } if e.g.Config == (image.Config{}) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0) -
src/image/gif/reader.go
// Otherwise, the animation is looped LoopCount+1 times. LoopCount int // Disposal is the successive disposal methods, one per frame. For // backwards compatibility, a nil Disposal is valid to pass to EncodeAll, // and implies that each frame's disposal method is 0 (no disposal // specified). Disposal []byte // Config is the global color table (palette), width and height. A nil or
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
} } @Override public void dispose () throws SmbException { if ( this.gssContext != null ) { try { this.gssContext.dispose(); } catch ( GSSException e ) { throw new SmbException("Context disposal failed", e); } } } /*
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Aug 02 08:22:42 UTC 2018 - 13.9K bytes - Viewed (0) -
src/image/gif/reader_test.go
const frames = 3000 img := image.NewPaletted(image.Rectangle{Max: image.Point{1, 1}}, palette.WebSafe) hugeGIF := &GIF{ Image: make([]*image.Paletted, frames), Delay: make([]int, frames), Disposal: make([]byte, frames), } for i := 0; i < frames; i++ { hugeGIF.Image[i] = img hugeGIF.Delay[i] = 60 } buf := new(bytes.Buffer) if err := EncodeAll(buf, hugeGIF); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 13.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
Disposer.newDisposable().let { disposable -> ParsedKotlinFiles(disposable.parseKotlinFiles(sourceRoots, compilationClasspath), disposable) } private fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) = Disposer.newDisposable().use { parseKotlinFiles(sourceRoots, emptyList()).let(block)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Disposable.java
* <p> * S2コンテナの終了時に破棄しなければならないリソースがある場合は、 このインタフェースを実装したクラスを作成し、 * {@link DisposableUtil}に登録します。 * </p> * * @author koichik */ public interface Disposable { /** * このオブジェクトが保持しているリソースを破棄します。 * */ void dispose();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
analysis/analysis-api-impl-barebone/tests/org/jetbrains/kotlin/analysis/api/impl/barebone/test/AbstractCompilerBasedTest.kt
private var _disposable: Disposable? = null protected val disposable: Disposable get() = _disposable!! @BeforeEach fun initDisposable(testInfo: TestInfo) { _disposable = Disposer.newDisposable("disposable for ${testInfo.displayName}") } @AfterEach fun disposeDisposable() { _disposable?.let { Disposer.dispose(it) } _disposable = null }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Oct 24 10:30:55 UTC 2023 - 1.7K bytes - Viewed (0) -
api/go1.5.txt
pkg image/gif, const DisposalPrevious = 3 pkg image/gif, const DisposalPrevious ideal-int pkg image/gif, type GIF struct, BackgroundIndex uint8 pkg image/gif, type GIF struct, Config image.Config pkg image/gif, type GIF struct, Disposal []uint8 pkg io, func CopyBuffer(Writer, Reader, []uint8) (int64, error) pkg log, const LUTC = 32 pkg log, const LUTC ideal-int pkg log, func Output(int, string) error pkg log, method (*Logger) SetOutput(io.Writer)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtension.kt
* creation of an analysis session, and disposed after the analysis session has been invalidated. * * [KaResolveExtension] implements the [Disposable] interface. The resolve extension can then act as a parent disposable, e.g. for a message * bus connection. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 4.9K bytes - Viewed (0)