Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 4,322 for nulls (0.02 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        }
    
        @Nested
        @DisplayName("writeParameterWordsWireFormat tests")
        class WriteParameterWords {
    
            @Test
            @DisplayName("Returns 0 with null array")
            void nullArray() {
                assertEquals(0, response.writeParameterWordsWireFormat(null, 0));
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, 9 })
            @DisplayName("Returns 0 with valid array and various indices")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

         */
        public static Long toLong(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Long l -> l;
            case Number n -> n.longValue();
            case String s -> toLong(s);
            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

        }
    
        /**
         * @param settings could be null
         * @return a new instance of settings or null if settings was null.
         */
        public static Settings copySettings(Settings settings) {
            if (settings == null) {
                return null;
            }
    
            return new Settings(settings.getDelegate());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. tests/scan_test.go

    	rows, err := DB.Table("users").
    		Select(`
    			NULL AS bool_field,
    			NULL AS int_field,
    			NULL AS int8_field,
    			NULL AS int16_field,
    			NULL AS int32_field,
    			NULL AS int64_field,
    			NULL AS uint_field,
    			NULL AS uint8_field,
    			NULL AS uint16_field,
    			NULL AS uint32_field,
    			NULL AS uint64_field,
    			NULL AS float32_field,
    			NULL AS float64_field,
    			NULL AS string_field,
    			NULL AS time_field,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:57:36 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
            Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null);
            ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem));
    
            assertNotSame(collector1, collector2);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jul 20 20:19:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        /**
         * Get existing handle data for reconnection
         * @param path the file path
         * @return the file ID if available, null otherwise
         */
        public byte[] getExistingHandle(String path) {
            HandleInfo info = getHandleForReconnect(path);
            return info != null ? info.getFileId() : null;
        }
    
        /**
         * Store handle information after successful create
         * @param path the file path
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

         *            information along, may be <code>null</code>.
         */
        public void merge(Model target, Model source, boolean sourceDominant, Map<?, ?> hints) {
            Objects.requireNonNull(target, "target cannot be null");
    
            if (source == null) {
                return;
            }
    
            Map<Object, Object> context = new HashMap<>();
            if (hints != null) {
                context.putAll(hints);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        updateCheckManager.touch(artifact, repository, null);
                    } catch (ResourceDoesNotExistException e) {
                        updateCheckManager.touch(artifact, repository, null);
                        throw e;
                    } catch (TransferFailedException e) {
                        String error = (e.getMessage() != null)
                                ? e.getMessage()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

            final String suppliedWorkstation = getSuppliedWorkstation();
            return "Type1Message[suppliedDomain=" + (suppliedDomain == null ? "null" : suppliedDomain) + ",suppliedWorkstation="
                    + (suppliedWorkstation == null ? "null" : suppliedWorkstation) + ",flags=0x"
                    + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                PluginInfo pluginInfo = extractPluginInfo(artifact);
                if (pluginInfo != null) {
                    String key = pluginInfo.groupId;
                    if (processedPlugins.get(key) == null) {
                        PluginsMetadata pluginMetadata = plugins.get(key);
                        if (pluginMetadata == null) {
                            pluginMetadata = new PluginsMetadata(pluginInfo, timestamp);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top