Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 445 for forks (0.02 seconds)

  1. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       *
       * @param pattern the pattern on which to filter file names
       */
      public PatternFilenameFilter(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      /*
       * Our implementation works fine with a null `dir`. However, there's nothing in the documentation
       * of the supertype that suggests that implementations are expected to tolerate null. That said, I
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/collect/ImmutableMapValues.java

       * flavors can read old data or data from the other flavor. However, we strongly discourage
       * relying on this, as we have made incompatible changes to serialized forms in the past and
       * expect to do so again, as discussed in https://github.com/google/guava#important-warnings.
       */
      @SuppressWarnings("unused")
      private static final class SerializedForm<V> implements Serializable {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

              public <T extends @Nullable Object> T[] toArray(T[] array) {
                T[] result = super.toArray(array);
                if (size() < result.length) {
                  // It works around a GWT bug where elements after last is not
                  // properly null'ed.
                  @Nullable Object[] unsoundlyCovariantArray = result;
                  unsoundlyCovariantArray[size()] = null;
                }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/dataclasses.md

    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/base/AsciiTest.java

     *
     * @author Craig Berry
     */
    @GwtCompatible
    @NullUnmarked
    public class AsciiTest extends TestCase {
    
      /**
       * The Unicode points {@code 00c1} and {@code 00e1} are the upper- and lowercase forms of
       * A-with-acute-accent, {@code Á} and {@code á}.
       */
      private static final String IGNORED = "`10-=~!@#$%^&*()_+[]\\{}|;':\",./<>?'\u00c1\u00e1\n";
    
      private static final String LOWER = "abcdefghijklmnopqrstuvwxyz";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/testdata/amd64.s

    	SHLL	CX, R12
    	SHLL	CX, foo+4(SB)
    	// Old syntax, still accepted:
    	SHLL	CX, R11:AX // SHLL CX, AX, R11
    
    // LTYPEM spec6	{ outcode($1, &$2); }
    	MOVL	AX, R11
    	MOVL	$4, R11
    //	MOVL	AX, 0(AX):DS // no longer works - did it ever?
    
    // LTYPEI spec7	{ outcode($1, &$2); }
    	IMULB	DX
    	IMULW	DX, BX
    	IMULL	R11, R12
    	IMULQ	foo+4(SB), R11
    
    // LTYPEXC spec8	{ outcode($1, &$2); }
    	CMPPD	X1, X2, 4
    	CMPPD	foo+4(SB), X2, 4
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM);
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Test multiple selections to ensure it works
            for (int i = 0; i < 10; i++) {
                ChannelInfo selected = loadBalancer.selectChannel(mockMessage);
                assertTrue(Arrays.asList(channel1, channel2).contains(selected));
            }
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
        // Redundant cast works around a javac bug.
        assertThat((Iterable<?>[]) map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java

    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.RepositoryRequest;
    
    /**
     * Forms a request to retrieve artifact metadata.
     *
     */
    @Deprecated
    public interface MetadataResolutionRequest extends RepositoryRequest {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/escape/EscapersTest.java

        assertThat(escaper.escape("\0\uFFFF")).isEqualTo("\0\uFFFF");
      }
    
      public void testBuilderRetainsState() {
        // Setting a safe range and unsafe replacement works as expected.
        Escapers.Builder builder = Escapers.builder();
        builder.setSafeRange('a', 'z');
        builder.setUnsafeReplacement("X");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top