Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,079 for FIRST (0.02 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java

        /**
         * artifact, closer to the entry point, is selected
         */
        @Configuration(name = "closer-first", value = "true")
        private boolean closerFirst = true;
    
        /**
         * newer artifact is selected
         */
        @Configuration(name = "newer-first", value = "true")
        private boolean newerFirst = true;
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            assertNotNull(lsarSidArrayX.sids, "sids array should not be null");
            assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match");
            assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
            assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly");
        }
    
        @Test
        void testConstructorWithJcifsSIDArrayDirectAssignment() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. tests/preload_test.go

    	var find1 Value
    	err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    	// Joins will automatically add Nested queries.
    	err = DB.Joins("Nested.Join").Preload("Nested.Preloads").First(&find2, value2.ID).Error
    	if err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      int sortedSet(int reps) {
        int dummy = 0;
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            dummy += new TreeSet<Integer>(input).first();
          }
        } else {
          for (int i = 0; i < reps; i++) {
            dummy += ImmutableSortedSet.copyOf(input).first();
          }
        }
        return dummy;
      }
    
      private static final Ordering<Integer> ORDERING = Ordering.natural();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            assertEquals(2, problems.size(), "Should collect both problems");
            assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR");
            assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message");
            assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

            override fun source(): BufferedSource = this@asResponseBody
          }
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
              imports = ["okhttp3.ResponseBody.Companion.toResponseBody"],
            ),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

                if (value instanceof final Collection<?> coll && !coll.isEmpty()) {
                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
                    if (first instanceof Entity) {
                        data.register(key, coll.stream().map(BeanUtil::copyBeanToNewMap).collect(Collectors.toList()));
                        return;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. cmd/admin-handlers-pools.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.RebalanceAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// NB rebalance-start admin API is always coordinated from first pool's
    	// first node. The following is required to serialize (the effects of)
    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

      public void testPeek_size1() {
        assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      @CollectionSize.Require(SEVERAL)
      public void testPeek_sizeMany() {
        assertEquals("sizeManyQueue.peek() should return first element", e0(), getQueue().peek());
        expectUnchanged();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    @GwtCompatible
    @NullMarked
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top