Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2651 - 2660 of 3,853 for Hint (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

    public class CollectionRemoveTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java

            }
            Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>();
            List<Element> valueTitles = new ArrayList<Element>();
            for (int i = 1; i < header.size(); i++) {
                Element element = header.get(i);
                Element override = findChild(element, "overrides");
                if (override != null) {
                    element.removeChild(override);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    }
    
    func getPoolsInfo(ctx context.Context, allDisks []madmin.Disk) (map[int]map[int]madmin.ErasureSetInfo, error) {
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil {
    		return nil, errServerNotInitialized
    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		return nil, errServerNotInitialized
    	}
    
    	poolsInfo := make(map[int]map[int]madmin.ErasureSetInfo)
    	for _, d := range allDisks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/FieldUtil.java

            }
        }
    
        /**
         * {@literal static}な {@link Field}の値をintとして取得します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return フィールドの値
         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see #getInt(Field, Object)
         */
        public static int getInt(final Field field) throws IllegalAccessRuntimeException {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/JvmVersion.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    enum class JvmVersion(val major: Int) {
        java7(7),
        java8(8),
        java11(11),
        java17(17),
        java21(21),
        java23(23),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 25 15:57:12 UTC 2024
    - 767 bytes
    - Viewed (0)
  6. docs/zh/docs/python-types.md

    # Python 类型提示简介
    
    **Python 3.6+ 版本**加入了对"类型提示"的支持。
    
    这些**"类型提示"**是一种新的语法(在 Python 3.6 版本加入)用来声明一个变量的<abbr title="例如:str、int、float、bool">类型</abbr>。
    
    通过声明变量的类型,编辑器和一些工具能给你提供更好的支持。
    
    这只是一个关于 Python 类型提示的**快速入门 / 复习**。它仅涵盖与 **FastAPI** 一起使用所需的最少部分...实际上只有很少一点。
    
    整个 **FastAPI** 都基于这些类型提示构建,它们带来了许多优点和好处。
    
    但即使你不会用到 **FastAPI**,了解一下类型提示也会让你从中受益。
    
    /// note
    
    如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。
    
    ///
    
    ## 动机
    
    让我们从一个简单的例子开始:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. cmd/os-readdir_test.go

    				t.Fatalf("expected = %s, got: %s", r.entries, entries)
    			}
    		}
    	}
    }
    
    func TestReadDirN(t *testing.T) {
    	testCases := []struct {
    		numFiles    int
    		n           int
    		expectedNum int
    	}{
    		{0, 0, 0},
    		{0, 1, 0},
    		{1, 0, 0},
    		{0, -1, 0},
    		{1, -1, 1},
    		{10, -1, 10},
    		{1, 1, 1},
    		{2, 1, 1},
    		{10, 9, 9},
    		{10, 10, 10},
    		{10, 11, 10},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    	srcCfg := getServerSystemCfg()
    	clnts := newBootstrapRESTClients(endpointServerPools, gm)
    	var onlineServers int
    	var offlineEndpoints []error
    	var incorrectConfigs []error
    	var retries int
    	var mu sync.Mutex
    	for onlineServers < len(clnts)/2 {
    		var wg sync.WaitGroup
    		wg.Add(len(clnts))
    		onlineServers = 0
    		for _, clnt := range clnts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt

        clientTestRule.newClient().newCall(Request(server.url("/"))).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @ParameterizedTest
      @ValueSource(ints = [1, 2])
      fun paramTest(
        instance: Int,
        server: MockWebServer,
      ) {
        assertThat(server).isSameInstanceAs(instanceServer)
      }
    
      companion object {
        private lateinit var staticServer: MockWebServer
    
        @JvmStatic
        @BeforeAll
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

        protected FessConfig fessConfig;
    
        public List<StopwordsItem> getStopwordsList(final String dictId, final StopwordsPager stopwordsPager) {
            return getStopwordsFile(dictId).map(file -> {
                final int pageSize = stopwordsPager.getPageSize();
                final PagingList<StopwordsItem> stopwordsList =
                        file.selectList((stopwordsPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top