- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for disposal (0.16 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/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) -
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/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) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
assertArgumentNotNull("disposable", disposable); disposables.addFirst(disposable); } /** * 破棄可能なリソースを登録解除します。 * * @param disposable * 破棄可能なリソース。{@literal null}であってはいけません */ public static synchronized void remove(final Disposable disposable) { assertArgumentNotNull("disposable", disposable); disposables.remove(disposable); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
this.name = name; } @Override public void dispose() { ++count; names += name; } } /** * */ public class TestDisposable2 implements Disposable { @Override public void dispose() { ++count; throw new RuntimeException(); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.3K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/session/KtAnalysisSessionProvider.kt
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.session import com.intellij.openapi.Disposable import com.intellij.openapi.project.Project import org.jetbrains.annotations.TestOnly import org.jetbrains.kotlin.analysis.api.KaSession import org.jetbrains.kotlin.analysis.api.KaAnalysisApiInternals
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 4.3K bytes - Viewed (0) -
analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/api/standalone/StandaloneAnalysisAPISessionBuilder.kt
package org.jetbrains.kotlin.analysis.api.standalone import com.intellij.mock.MockApplication import com.intellij.mock.MockProject import com.intellij.openapi.Disposable import com.intellij.openapi.application.Application import com.intellij.openapi.project.Project import com.intellij.openapi.util.Disposer import com.intellij.psi.PsiFile import com.intellij.psi.search.GlobalSearchScope
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 14K bytes - Viewed (0)