Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3751 - 3760 of 3,988 for true (0.05 sec)

  1. doc/go_mem.html

    For example, the <code>twoprint</code> program might be
    incorrectly written as:
    </p>
    
    <pre>
    var a string
    var done bool
    
    func setup() {
    	a = "hello, world"
    	done = true
    }
    
    func doprint() {
    	if !done {
    		once.Do(setup)
    	}
    	print(a)
    }
    
    func twoprint() {
    	go doprint()
    	go doprint()
    }
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        /**
         * <code>type</code>の原型が<code>clazz</code>に代入可能であれば<code>true</code>を、
         * それ以外の場合は<code>false</code>を返します。
         *
         * @param type
         *            タイプ。{@literal null}であってはいけません
         * @param clazz
         *            クラス。{@literal null}であってはいけません
         * @return <code>type</code>の原型が<code>clazz</code>に代入可能であれば<code>true</code>
         */
        public static boolean isTypeOf(final Type type, final Class<?> clazz) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. cmd/iam-etcd-store.go

    						isCreateEvent := event.IsModify() || event.IsCreate()
    						isDeleteEvent := event.Type == etcd.EventTypeDelete
    
    						switch {
    						case isCreateEvent:
    							ch <- iamWatchEvent{
    								isCreated: true,
    								keyPath:   string(event.Kv.Key),
    							}
    						case isDeleteEvent:
    							ch <- iamWatchEvent{
    								isCreated: false,
    								keyPath:   string(event.Kv.Key),
    							}
    						}
    
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. cmd/bucket-replication-metrics.go

    		s.prevSMA += (next - prev) / float64(s.window)
    		s.CAvg += (next - s.CAvg) / float64(s.window)
    	} else {
    		s.CAvg = s.simpleMovingAvg()
    		s.prevSMA = s.CAvg
    	}
    	if s.idx == s.window-1 {
    		s.filledBuf = true
    	}
    	s.idx = (s.idx + 1) % s.window
    }
    
    func (s *SMA) simpleMovingAvg() float64 {
    	if s.filledBuf {
    		return s.prevSMA
    	}
    	var tot float64
    	for _, r := range s.buf {
    		tot += r
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/query-params-str-validations.md

    {!../../docs_src/query_params_str_validations/tutorial009.py!}
    ```
    
    ## 弃用参数
    
    现在假设你不再喜欢此参数。
    
    你不得不将其保留一段时间,因为有些客户端正在使用它,但你希望文档清楚地将其展示为<abbr title ="已过时,建议不要使用它">已弃用</abbr>。
    
    那么将参数 `deprecated=True` 传入 `Query`:
    
    ```Python hl_lines="18"
    {!../../docs_src/query_params_str_validations/tutorial010.py!}
    ```
    
    文档将会像下面这样展示它:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@code LinkedHashMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class LinkedHashMultimapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.27.md

    ## Dependencies
    
    ### Added
    - github.com/a8m/tree: [10a5fd5](https://github.com/a8m/tree/tree/10a5fd5)
    - github.com/dougm/pretty: [2ee9d74](https://github.com/dougm/pretty/tree/2ee9d74)
    - github.com/rasky/go-xdr: [4930550](https://github.com/rasky/go-xdr/tree/4930550)
    - github.com/vmware/vmw-guestinfo: [25eff15](https://github.com/vmware/vmw-guestinfo/tree/25eff15)
    - sigs.k8s.io/kustomize/kustomize/v5: v5.0.1
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

            updateOption.xtoBeCompatibleBatchUpdateDefaultEveryColumn();
            return updateOption;
        }
    
        protected boolean isCompatibleBatchInsertDefaultEveryColumn() {
            return true;
        }
    
        public void setSizeForDelete(int sizeForDelete) {
            this.sizeForDelete = sizeForDelete;
        }
    
        public void setScrollForDelete(String scrollForDelete) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

            }
        }
    
        /**
         * コンテキストクラスローダにリソースが存在するかどうかを返します。
         *
         * @param path
         *            リソースのパス。{@literal null}や空文字列であってはいけません
         * @return リソースが存在すれば{@literal true}
         * @see #getResourceNoException(String)
         */
        public static boolean isExist(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResourceNoException(path) != null;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    try {
                        buildResumptionDataRepository.persistResumptionData(rootProject, resumption);
                        result.setCanResume(true);
                    } catch (BuildResumptionPersistenceException e) {
                        logger.warn("Could not persist build resumption data", e);
                    }
                });
            }
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top