Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for nPix (0.35 sec)

  1. src/image/gif/reader_test.go

    		b.WriteString(paletteStr)
    		// Write an image with bounds 2x1 but tc.nPix pixels. If tc.nPix != 2
    		// then this should result in an invalid GIF image. First, write a
    		// magic 0x2c (image descriptor) byte, bounds=(0,0)-(2,1), a flags
    		// byte, and 2-bit LZW literals.
    		b.WriteString("\x2c\x00\x00\x00\x00\x02\x00\x01\x00\x00\x02")
    		if tc.nPix > 0 {
    			enc := lzwEncode(make([]byte, tc.nPix))
    			if len(enc)+tc.extraExisting > 0xff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/image/gif/reader.go

    func uninterlace(m *image.Paletted) {
    	var nPix []uint8
    	dx := m.Bounds().Dx()
    	dy := m.Bounds().Dy()
    	nPix = make([]uint8, dx*dy)
    	offset := 0 // steps through the input by sequential scan lines.
    	for _, pass := range interlacing {
    		nOffset := pass.start * dx // steps through the output as defined by pass.
    		for y := pass.start; y < dy; y += pass.skip {
    			copy(nPix[nOffset:nOffset+dx], m.Pix[offset:offset+dx])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            }
            execute(killArgs(pid, killTree), killScript(pid, killTree))
        }
    
        // Only supported on *nix platforms
        String[] getChildProcesses() {
            if (pid == null) {
                throw new RuntimeException("Unable to get child processes because provided pid is null!")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy

            this.environments = environments
        }
        
        static NMToolFixture of(List<String> environments) {
            return new NMToolFixture(environments)
        }
    
        private findExe(String exe) {
            // *nix OS correctly handle search inside the process's PATH environment variable
            if (!OperatingSystem.current().windows) {
                return [exe]
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. cmd/xl-storage_windows_test.go

    		t.Fatal(err)
    	}
    
    	err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to create a file that includes a file in its path components.
    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    	if err != errFileAccessDenied {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutputTest.groovy

        private static final String WINDOWS_EOL = "\r\n"
        private static final String SYSTEM_EOL = SystemProperties.instance.getLineSeparator();
        private static final def EOLS = [
            ["System", SYSTEM_EOL],
            ["*nix", NIX_EOL],
            ["Windows", WINDOWS_EOL]
        ]
        @Rule final SetSystemProperties systemProperties = new SetSystemProperties()
        final StringBuilder result = new StringBuilder()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/native/cpp_library_plugin.adoc

    link:{groovyDslPath}/org.gradle.nativeplatform.tasks.LinkSharedLibrary.html#org.gradle.nativeplatform.tasks.LinkSharedLibrary:linkedFile[linkedFile]:: `layout.buildDirectory.dir("lib/main/__$variant__/libBaseName[.so|dylib]")` (*nix) or `layout.buildDirectory.dir("lib\main{backslash}__$variant__\baseName.dll")` (Windows)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            then:
            daemons.daemon.becomesIdle()
    
            and:
            daemons.daemon.log.contains(DaemonMessages.CANCELED_BUILD)
        }
    
        /**
         * When the daemon is started on *nix, we need to detach it from the terminal session of the parent process,
         * otherwise if a ctrl-c is entered on the terminal, it will kill all processes in the session.  This test compiles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   }
    //
    //   ASSERT_EXIT(client.HangUpServer(), KilledBySIGHUP, "Hanging up!");
    //
    // On the regular expressions used in death tests:
    //
    //   On POSIX-compliant systems (*nix), we use the <regex.h> library,
    //   which uses the POSIX extended regex syntax.
    //
    //   On other platforms (e.g. Windows), we only support a simple regex
    //   syntax implemented as part of Google Test.  This limited
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   }
    //
    //   ASSERT_EXIT(client.HangUpServer(), KilledBySIGHUP, "Hanging up!");
    //
    // On the regular expressions used in death tests:
    //
    //   On POSIX-compliant systems (*nix), we use the <regex.h> library,
    //   which uses the POSIX extended regex syntax.
    //
    //   On other platforms (e.g. Windows), we only support a simple regex
    //   syntax implemented as part of Google Test.  This limited
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top