Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 130 for getOne (0.04 sec)

  1. docs/ja/docs/environment-variables.md

    例えば、以下のような`main.py`ファイルを用意します:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> の第2引数は、デフォルトで返される値を指定します。
    
    この引数を省略するとデフォルト値として`None`が返されますが、ここではデフォルト値として`"World"`を指定しています。
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 27 15:39:04 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Convert from little-endian wire format to Java UUID
            ByteBuffer bb = ByteBuffer.wrap(bytes).order(java.nio.ByteOrder.LITTLE_ENDIAN);
    
            // Read GUID components in little-endian order
            int data1 = bb.getInt(); // first 4 bytes (little-endian)
            short data2 = bb.getShort(); // next 2 bytes (little-endian)
            short data3 = bb.getShort(); // next 2 bytes (little-endian)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
        private static final int OPEN_FN_TRUNC = 0x02;
    
        private static final int BATCH_LIMIT = Config.getInt("jcifs.smb1.smb.client.OpenAndX.ReadAndX", 1);
    
        int flags, desiredAccess, searchAttributes, fileAttributes, creationTime, openFunction, allocationSize;
    
        // flags is NOT the same as flags member
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.MoreExecutors.rejectionPropagatingExecutor;
    import static com.google.common.util.concurrent.Platform.restoreInterruptIfIsInterruptedException;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            Field informationLevelField = Trans2QueryFSInformation.class.getDeclaredField("informationLevel");
            informationLevelField.setAccessible(true);
            assertEquals(level, informationLevelField.getInt(cmd), "informationLevel should be persisted");
        }
    
        @Test
        @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0")
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        private int getStatus(NetServerEnum2Response response) throws Exception {
            Field field = getSuperclassField(response.getClass(), "status");
            field.setAccessible(true);
            return field.getInt(response);
        }
    
        private void setStatus(NetServerEnum2Response response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/settings.md

    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Dica
    
    O segundo parâmetro em <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> é o valor padrão para o retorno.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

                this.realm = p.getProperty("jcifs.http.basicRealm");
                this.netbiosLookupRespLimit = Config.getInt(p, "jcifs.netbios.lookupRespLimit", 3);
                this.netbiosCacheTimeout = Config.getInt(p, "jcifs.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */
    
                if (this.realm == null) {
                    this.realm = "jCIFS";
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

         * Private constructor to prevent instantiation of this utility class.
         */
        private BufferCache() {
            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
        private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum
    
        // Use concurrent queue for lock-free operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

        }
    
        @Test
        @DisplayName("MonotonicClock should always use UTC timezone")
        void testClockTimezone() {
            MonotonicClock clock = MonotonicClock.get();
    
            assertEquals(ZoneOffset.UTC, clock.getZone(), "Clock should use UTC timezone");
    
            // Verify that attempting to change timezone returns the same instance
            Clock newClock = clock.withZone(ZoneId.systemDefault());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top