Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,279 for getLen (2.98 sec)

  1. src/syscall/syscall_aix.go

    }
    
    func (sa *RawSockaddrUnix) setLen(n int) {
    	sa.Len = uint8(3 + n) // 2 for Family, Len; 1 for NUL.
    }
    
    func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) {
    	name := sa.Name
    	n := len(name)
    	if n > len(sa.raw.Path) {
    		return nil, 0, EINVAL
    	}
    	sa.raw.Family = AF_UNIX
    	sa.raw.setLen(n)
    	for i := 0; i < n; i++ {
    		sa.raw.Path[i] = uint8(name[i])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/process/TestJavaMain.java

            }
            System.out.println("ENVIRONMENT:");
            printMap(System.getenv(), "TEST_");
    
            System.out.println("PROPERTIES:");
            printMap(System.getProperties(), "test.");
        }
    
        private static void printMap(Map<?, ?> items, String prefix) {
            items.entrySet().stream().filter(e -> String.valueOf(e.getKey()).startsWith(prefix)).sorted(comparingByStringifiedKey()).forEach(e -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 00:18:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

            DefaultAwsCredentials credentials = new DefaultAwsCredentials()
            String bucketName = System.getenv('G_S3_BUCKET')
            credentials.setAccessKey(System.getenv('G_AWS_ACCESS_KEY_ID'))
            credentials.setSecretKey(System.getenv('G_AWS_SECRET_ACCESS_KEY'))
            credentials.setSessionToken(System.getenv('G_AWS_SESSION_TOKEN'))
    
            S3Client s3Client = new S3Client(credentials, new S3ConnectionProperties())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/EstablishBuildEnvironment.java

                    continue;
                }
                if (entry.getKey().startsWith("sun.") || entry.getKey().startsWith("awt.") || entry.getKey().contains(".awt.")) {
                    continue;
                }
                System.setProperty(entry.getKey(), entry.getValue());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

                    boolean caseSensitive = !Os.IS_WINDOWS;
                    for (Map.Entry<String, String> entry : System.getenv().entrySet()) {
                        String key = "env."
                                + (caseSensitive ? entry.getKey() : entry.getKey().toUpperCase(Locale.ENGLISH));
                        tmp.setProperty(key, entry.getValue());
                    }
                    envVars = tmp;
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:01:36 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingUtils.java

         * and both {@code getKey()} and {@code getValue()} return non-{@code null} {@code String}s. The
         * intended use case is the tracking of {@code entrySet()} operations in the instrumented results
         * of {@code System.getProperties()} and {@code System.getenv()} for configuration cache. This use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

        public static List<Map<String, String>> getEnvItems() {
            final List<Map<String, String>> itemList = new ArrayList<>();
            for (final Map.Entry<String, String> entry : System.getenv().entrySet()) {
                itemList.add(createItem(entry.getKey(), entry.getValue()));
            }
            return itemList;
        }
    
        public static List<Map<String, String>> getPropItems() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

                SecretKeySpec(keyAsBytes, encryptionAlgorithm)
            }
        }
    
        private
        fun getKeyAsBase64(): String = System.getenv(GRADLE_ENCRYPTION_KEY_ENV_KEY) ?: ""
    
        override fun getKey(): SecretKey = secretKey
    
        override val sourceDescription: String
            get() = "$GRADLE_ENCRYPTION_KEY_ENV_KEY environment variable"
    
        companion object {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            }
            if (generatorList != null && !generatorList.isEmpty()) {
                String path = System.getenv("PATH");
                if (path == null) {
                    path = System.getenv("Path");
                }
                if (path == null) {
                    path = System.getenv("path");
                }
                final List<String> pathList = new ArrayList<>();
                pathList.add("/usr/share/fess/bin");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingEnvMap.java

    /**
     * A wrapper for the {@link System#getenv()} result that notifies a listener about accesses.
     */
    public class AccessTrackingEnvMap extends ForwardingMap<String, String> {
        private final Map<String, String> delegate;
        private final BiConsumer<? super String, ? super String> onAccess;
    
        public AccessTrackingEnvMap(BiConsumer<String, String> onAccess) {
            this(System.getenv(), onAccess);
        }
    
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top