Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for safely (0.04 sec)

  1. cmd/postpolicyform.go

    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val any) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val any) string {
    	return strings.ToLower(toString(val))
    }
    
    // toInteger _ Safely convert interface to integer without causing panic.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java

     * <p>
     * Singleton-scoped beans are instantiated once and reused throughout the entire
     * Maven execution. This scope should be used for stateless services or components
     * that can be safely shared across the entire build process.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Singleton
     * public class GlobalConfiguration {
     *     // Implementation
     * }
     * </pre>
     *
     * @see Scope
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. docs/compression/README.md

    Consult our security experts on [SUBNET](https://min.io/pricing) to help you evaluate if
    your setup can use this feature combination safely.
    
    To enable compression+encryption use:
    
    ```bash
    ~ mc admin config set myminio compression allow_encryption=on
    ```
    
    Or alternatively through the environment variable `MINIO_COMPRESSION_ALLOW_ENCRYPTION=on`.
    
    ### 4. Excluded Types
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals("video/mpeg", mimeMap.getMimeType("mpeg"));
                assertEquals("video/quicktime", mimeMap.getMimeType("mov"));
            }
    
            @Test
            @DisplayName("Should handle empty extensions safely")
            void testEmptyExtensions() throws IOException {
                // Empty extension seems to match first entry in mime.map
                String result = mimeMap.getMimeType("");
                assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. docs/select/README.md

    ## Enabling Parquet Format
    
    Parquet is DISABLED by default since hostile crafted input can easily crash the server.
    
    If you are in a controlled environment where it is safe to assume no hostile content can be uploaded to your cluster you can safely enable Parquet.
    To enable Parquet set the environment variable `MINIO_API_SELECT_PARQUET=on`.
    
    ## Example using Python API
    
    ### 1. Prerequisites
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ServerResponseValidator.java

                throw new SmbException("Buffer access out of bounds");
            }
        }
    
        /**
         * Safely add integers checking for overflow
         *
         * @param a first value
         * @param b second value
         * @return sum
         * @throws SmbException if overflow would occur
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            // Problems here with iSeries returning ASCII even though useUnicode = true
            // Fortunately we don't really need nativeFileSystem for anything.
            // However, we'll try to read it safely for compatibility
            if (this.byteCount > bufferIndex - start) {
                try {
                    // Attempt to read nativeFileSystem, but don't fail if there are issues
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeTest.java

                return null;
            }).when(smbTree).close();
    
            smbTree.close();
    
            verify(smbTree).close();
        }
    
        /**
         * Test for unwrap preserving type safety.
         * Verifies that unwrap maintains type safety at compile time.
         */
        @Test
        void testUnwrap_typeSafety() {
            CustomSmbTree customTree = mock(CustomSmbTree.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. docs/debugging/README.md

    mc: Decryption key: ad2b43d847fdb14e54c5836200177f7158b3f745433525f5d23c0e0208e50c9948540b54
    
    mc: The decryption key will ONLY be shown here. It cannot be recovered.
    mc: The encrypted file can safely be shared without the decryption key.
    mc: Even with the decryption key, data stored with encryption cannot be accessed.
    ```
    
    This file can be decrypted using the decryption tool below:
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/EmptyIteratorTest.java

                    count++;
                    if (count > 10)
                        break; // Safety check
                }
                assertEquals(0, count, "No iterations should occur for empty iterator");
            }, "EmptyIterator should work with manual iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle concurrent access safely")
        void testConcurrentAccess() throws InterruptedException, CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top