Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2801 - 2810 of 3,709 for onex (0.22 seconds)

  1. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        assertThat(bimap.get(Currency.DOLLAR)).isEqualTo("dollar");
        assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar"));
    
        /* Map must have at least one entry if not an EnumHashBiMap. */
        assertThrows(
            IllegalArgumentException.class,
            () -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap()));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            for (int i = 0; i < elements.length; i++) {
              String element = elements[i];
              if (multiset1.contains(element) || multiset2.contains(element)) {
                // add to both; the one already containing it will have more
                multiset1.add(element);
                multiset2.add(element);
              } else if (i % 2 == 0) {
                multiset1.add(elements[i]);
              } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RegularContiguousSet.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Collection;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An implementation of {@link ContiguousSet} that contains one or more elements.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    final class RegularContiguousSet<C extends Comparable> extends ContiguousSet<C> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            assertTrue(mockService.hasRegistration(reg1));
            assertTrue(mockService.hasRegistration(reg2));
            assertTrue(mockService.hasRegistration(reg3));
    
            // Unregister one
            assertTrue(mockService.unregisterWitness(reg2));
            assertEquals(2, mockService.getRegistrationCount());
            assertFalse(mockService.hasRegistration(reg2));
    
            // Clean up remaining
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 01 21:22:14 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py hl[4,18] *}
    
    ### Migrate in steps { #migrate-in-steps }
    
    /// tip
    
    First try with `bump-pydantic`, if your tests pass and that works, then you're done in one command. ✨
    
    ///
    
    If `bump-pydantic` doesn't work for your use case, you can use the support for both Pydantic v1 and v2 models in the same app to do the migration to Pydantic v2 gradually.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top