Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,181 for first (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

        }
    
        public void test_register_overwrite() {
            String first = "first";
            String second = "second";
            String componentName = "testComponent";
    
            ComponentUtil.register(first, componentName);
            String retrieved1 = ComponentUtil.getComponent(componentName);
            assertSame(first, retrieved1);
    
            ComponentUtil.register(second, componentName);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                if (first.getPath() != null) {
                    expectedPathConsumed -= (first.getPath().length() + 1);
                }
                assertEquals(expectedPathConsumed, combined.getPathConsumed());
            }
    
            @Test
            @DisplayName("Should combine when first has null path")
            void testCombineWithNullPath() {
                // Create first with null path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. tests/non_std_test.go

    	DB.First(&animal, animal.Counter)
    	if animal.Name != "galeone" {
    		t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name)
    	}
    
    	// When changing a field with a default value, the change must occur
    	animal.Name = "amazing horse"
    	DB.Save(&animal)
    	DB.First(&animal, animal.Counter)
    	if animal.Name != "amazing horse" {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            buffer.order(ByteOrder.LITTLE_ENDIAN);
    
            // First notification with nextEntryOffset pointing to second
            int secondOffset = 48;
            buffer.putInt(secondOffset); // nextEntryOffset to second entry
            buffer.putInt(FileNotifyInformation.FILE_ACTION_ADDED);
            String fileName1 = "first.txt";
            byte[] fileNameBytes1 = fileName1.getBytes("UTF-16LE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            // Should alternate between channels
            ChannelInfo first = loadBalancer.selectChannel(mockMessage);
            ChannelInfo second = loadBalancer.selectChannel(mockMessage);
    
            assertNotNull(first);
            assertNotNull(second);
            // Due to round-robin, should get different channels or same order
            assertTrue(Arrays.asList(channel1, channel2).contains(first));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        }
      }
    
      /**
       * Constructs an {@code ImmutableSortedSet} from the first {@code n} elements of {@code contents}.
       * If {@code k} is the size of the returned {@code ImmutableSortedSet}, then the sorted unique
       * elements are in the first {@code k} positions of {@code contents}, and {@code contents[i] ==
       * null} for {@code k <= i < n}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Load data first
            protwordsFile.reload(null);
    
            // Test with offset out of bounds
            PagingList<ProtwordsItem> list = protwordsFile.selectList(100, 10);
            assertEquals(0, list.size());
            assertTrue(list.isEmpty());
        }
    
        public void test_selectList_negativeOffset() {
            // Load data first
            protwordsFile.reload(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. chainable_api.go

    //
    //	// Find the first user with name jinzhu
    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    //	db.Where(&User{Name: "jinzhu", Age: 20}).First(&user)
    //	// Find the first user with name jinzhu and age not equal to 20
    //	db.Where("name = ?", "jinzhu").Where("age <> ?", "20").First(&user)
    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                },
                directExecutor());
    
        // Wait for the first task to be started in the background. It will block until we explicitly
        // stop it.
        blockingCallable.waitForStart();
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        assertThat(future2.isDone()).isFalse();
    
        // Stop the first task. The second task should then run.
        blockingCallable.stop();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/StringUtilTest.java

            String result = StringUtil.join(null, "first", "second", "third");
            assertEquals("firstnullsecondnullthird", result);
        }
    
        @Test
        @DisplayName("Should handle null elements in array")
        void testJoinWithNullElements() {
            String result = StringUtil.join(",", "first", null, "third");
            assertEquals("first,null,third", result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top