Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,129 for treating (0.04 sec)

  1. src/archive/zip/writer.go

    		}
    		fw.rawCount = &countWriter{w: fw.comp}
    		fw.header = h
    		ow = fw
    	}
    	w.dir = append(w.dir, h)
    	if err := writeHeader(w.cw, h); err != nil {
    		return nil, err
    	}
    	// If we're creating a directory, fw is nil.
    	w.last = fw
    	return ow, nil
    }
    
    func writeHeader(w io.Writer, h *header) error {
    	const maxUint16 = 1<<16 - 1
    	if len(h.Name) > maxUint16 {
    		return errLongName
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. README.md

    - **Resource management** - Proper handling of resources with utilities like `CloseableUtil` and `DisposableUtil`
    
    ### Key Architectural Patterns
    - **Factory Pattern** - `BeanDescFactory` for creating bean descriptors, `ParameterizedClassDescFactory` for generic type handling
    - **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.connTimeout", "invalid");
            props.setProperty("jcifs.smb.client.useUnicode", "maybe");
    
            // When creating configuration with invalid number
            PropertyConfiguration testConfig = new PropertyConfiguration(props);
            // Should use default values for invalid properties
            assertTrue(testConfig.getConnTimeout() > 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

    import java.util.Collection;
    import java.util.Objects;
    
    import org.apache.maven.api.Service;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Service for creating {@link PathMatcher} objects that can be used to filter files
     * based on include/exclude patterns. This service provides a clean API for plugins
     * to create path matchers without directly depending on implementation classes.
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
       * @return a long of a concatenated 8 bytes
       */
      static long load64Safely(byte[] input, int offset, int length) {
        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    
    import com.google.common.cache.TestingCacheLoaders.IncrementingLoader;
    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
    
        // Creating a new thread from the same ThreadFactory will have the same
        // pool ID but a thread ID of 2.
        Thread thread2 = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread2, 2);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                    .build();
        }
    
        /**
         * Returns a new builder for creating XmlNode instances.
         *
         * @return a new Builder instance
         */
        static Builder newBuilder() {
            return new Builder();
        }
    
        /**
         * Builder class for creating XmlNode instances.
         * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       * the case of Android, the current app. If that is not possible (as is the case under the very
       * old Android Ice Cream Sandwich release), then this method throws an exception instead of
       * creating a directory that would be more accessible. (This behavior is new in Guava 32.0.0.
       * Previous versions would create a directory that is more accessible, as discussed in <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * the case of Android, the current app. If that is not possible (as is the case under the very
       * old Android Ice Cream Sandwich release), then this method throws an exception instead of
       * creating a directory that would be more accessible. (This behavior is new in Guava 32.0.0.
       * Previous versions would create a directory that is more accessible, as discussed in <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top