Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 806 for sounds (0.27 sec)

  1. src/image/gif/fuzz_test.go

    			}
    			img1, err := Decode(&w)
    			if err != nil {
    				t.Fatalf("failed to decode roundtripped image: %s", err)
    			}
    			got := img1.Bounds()
    			want := img.Bounds()
    			if !got.Eq(want) {
    				t.Fatalf("roundtripped image bounds have changed, got: %v, want: %v", got, want)
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 15:57:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. test/fixedbugs/issue38496.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure bounds check elision isn't confused with nil check elision.
    
    package main
    
    func main() {
    	defer func() {
    		err := recover()
    		if err == nil {
    			panic("failed to check nil ptr")
    		}
    	}()
    	var m [2]*int
    	_ = *m[1] // need a nil check, but not a bounds check
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 04:26:54 UTC 2020
    - 440 bytes
    - Viewed (0)
  3. src/image/png/reader_test.go

    	// Write the IMAGE.
    	io.WriteString(w, "IMAGE {\n    pixels hex\n")
    	for y := bounds.Min.Y; y < bounds.Max.Y; y++ {
    		switch {
    		case cm == color.GrayModel:
    			for x := bounds.Min.X; x < bounds.Max.X; x++ {
    				gray := png.At(x, y).(color.Gray)
    				fmt.Fprintf(w, "%02x", gray.Y)
    			}
    		case cm == color.Gray16Model:
    			for x := bounds.Min.X; x < bounds.Max.X; x++ {
    				gray16 := png.At(x, y).(color.Gray16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  4. src/image/image.go

    	// ColorModel returns the Image's color model.
    	ColorModel() color.Model
    	// Bounds returns the domain for which At can return non-zero color.
    	// The bounds do not necessarily contain the point (0, 0).
    	Bounds() Rectangle
    	// At returns the color of the pixel at (x, y).
    	// At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid.
    	// At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.
    	At(x, y int) color.Color
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dataflowActions/playSound/groovy/plugin/src/main/java/org/gradle/sample/sound/SoundService.java

    package org.gradle.sample.sound;
    
    import org.gradle.api.services.BuildService;
    import org.gradle.api.services.BuildServiceParameters;
    
    import java.io.File;
    
    public abstract class SoundService implements BuildService<BuildServiceParameters.None> {
        public void playSoundFile(File path) {
            System.out.println("Playing sound " + path.getName());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 361 bytes
    - Viewed (0)
  6. test/fixedbugs/issue59367.go

    //go:noinline
    func f16(p *uint8, b []byte) {
    	_ = b[1]            // bounds check
    	x := *p             // load a byte
    	y := uint16(x)      // zero extend to 16 bits
    	b[0] = byte(y >> 8) // compute ROLW
    	b[1] = byte(y)
    	nop()               // spill/restore ROLW
    	b[0] = byte(y >> 8) // use ROLW
    	b[1] = byte(y)
    }
    
    //go:noinline
    func f32(p *uint8, b []byte) {
    	_ = b[3]             // bounds check
    	x := *p              // load a byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 21:11:29 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/image/gif/reader_test.go

    	copy(gif, testGIF)
    	// Make the bounds too big, just by one.
    	gif[32] = 2
    	want := "gif: frame bounds larger than image bounds"
    	try(t, gif, want)
    
    	// Make the bounds too small; does not trigger bounds
    	// check, but now there's too much data.
    	gif[32] = 0
    	want = "gif: too much image data"
    	try(t, gif, want)
    	gif[32] = 1
    
    	// Make the bounds really big, expect an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dataflowActions/playSound/groovy/plugin/build.gradle

    plugins {
        id("java-gradle-plugin")
    }
    
    
    gradlePlugin {
        plugins {
            soundPlugin {
                id = "org.gradle.sample.sound-feedback-plugin"
                implementationClass = "org.gradle.sample.sound.SoundFeedbackPlugin"
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 251 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/codegen/ApiTypeProviderTest.kt

                    assertThat(typeParameters.size, equalTo(1))
                    typeParameters.single().apply {
                        assertThat(sourceName, equalTo("T"))
                        assertThat(bounds.size, equalTo(1))
                        assertThat(bounds.single().sourceName, equalTo("org.gradle.api.Plugin"))
                    }
    
                    functions.single { it.name == "withType" }.apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/img/java-sourcesets-compilation.graffle

    d0\green0\blue0;} {\*\expandedcolortbl;;\csgray\c0;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc\partightenfactor0 \f0\i\fs32 \cf2 sourceSet \f1\i0 Implementation \f0 \ (configuration)}Bounds{{15, -214}, {224, 65}}ClassShapedGraphicID.0g0.0r0.0space9eaea0911d89d6/+SABlAGwAdgBlAHQAaQBj/+TQBvAG4AYQBjAG8AAACc//kgAZQBsAHYAZQB0AGkAY== Text{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;\f1\fnil\fcharset0...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top