Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 4,785 for new (0.02 sec)

  1. android/guava/src/com/google/common/collect/Collections2.java

        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
          j = Integer.MAX_VALUE;
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            QueryProcessor queryProcessor = new QueryProcessor();
            ComponentUtil.register(queryProcessor, "queryProcessor");
            queryProcessor.init();
            new BooleanQueryCommand().register();
            new BoostQueryCommand().register();
            new FuzzyQueryCommand().register();
            new MatchAllQueryCommand().register();
            new PhraseQueryCommand().register();
            new PrefixQueryCommand().register();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return new DecimalFormat(pattern).format(value);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

                    result = path.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with base dir
                    result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile();
                }
            }
    
            return result;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            dep2.setType( "jar" );
    
            List<Dependency> deps = new ArrayList<>();
            deps.add( dep1 );
            deps.add( dep2 );
    
            ArtifactFactory factory = container.lookup( ArtifactFactory.class );
    
            ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE );
    
            MavenProject project = new MavenProject( new Model() );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    new SimpleLookup(List.of(new DefaultRepositoryFactory(new DefaultRemoteRepositoryManager(
                            new DefaultUpdatePolicyAnalyzer(), new DefaultChecksumPolicyProvider())))),
                    null);
            InternalSession.associate(session, iSession);
    
            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    /**
     * Tests for {@code Synchronized#map}.
     *
     * @author Mike Bostock
     */
    public class SynchronizedMapTest extends TestCase {
      public final Object mutex = new Object[0]; // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/arena/arena.go

    	runtime_arena_arena_Free(a.a)
    	a.a = nil
    }
    
    // New creates a new *T in the provided arena. The *T must not be used after
    // the arena is freed. Accessing the value after free may result in a fault,
    // but this fault is also not guaranteed.
    func New[T any](a *Arena) *T {
    	return runtime_arena_arena_New(a.a, reflectlite.TypeOf((*T)(nil))).(*T)
    }
    
    // MakeSlice creates a new []T with the provided capacity and length. The []T must
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top