Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for Chalin (0.37 sec)

  1. tests/flow-repo/config_munging_underscores/chain.js

    fisker Cheung <******@****.***> 1588870546 +0800
    JavaScript
    - Registered: 2021-07-27 07:20
    - Last Modified: 2020-05-07 16:55
    - 541 bytes
    - Viewed (0)
  2. src/methods/hasIn.js

     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    import { hasIn as _hasIn } from '../functional/hasIn';
    
    export function hasIn(searchKeyPath) {
      return _hasIn(this, searchKeyPath);
    JavaScript
    - Registered: 2021-07-29 00:31
    - Last Modified: 2017-10-16 19:59
    - 319 bytes
    - Viewed (0)
  3. test/chain.js

        var array = ['c', 'b', 'a'];
    
        assert.ok(chain(array).head() instanceof _);
        assert.ok(_(array).chain().head() instanceof _);
    
        assert.ok(chain(array).isArray() instanceof _);
        assert.ok(_(array).chain().isArray() instanceof _);
    
        assert.ok(chain(array).sortBy().head() instanceof _);
        assert.ok(_(array).chain().sortBy().head() instanceof _);
      });
    
      it('should chain multiple methods', function() {
    JavaScript
    - Registered: 2021-07-30 12:22
    - Last Modified: 2019-02-12 17:11
    - 2.3K bytes
    - Viewed (0)
  4. src/interfaces/chain.h

        //! Return whether block is in the active (most-work) chain.
        FoundBlock& inActiveChain(bool& in_active_chain) { m_in_active_chain = &in_active_chain; return *this; }
        //! Return next block in the active chain if current block is in the active chain.
        FoundBlock& nextBlock(const FoundBlock& next_block) { m_next_block = &next_block; return *this; }
    C
    - Registered: 2021-07-27 01:31
    - Last Modified: 2021-06-10 19:45
    - 12.9K bytes
    - Viewed (0)
  5. misc/cgo/stdio/testdata/chain.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // +build test_run
    
    // Pass numbers along a chain of threads.
    
    package main
    
    import (
    	"runtime"
    	"strconv"
    
    	"cgostdio/stdio"
    )
    
    const N = 10
    const R = 5
    
    func link(left chan<- int, right <-chan int) {
    Go
    - Registered: 2021-07-30 12:35
    - Last Modified: 2019-02-24 00:40
    - 938 bytes
    - Viewed (0)
  6. hasIn.js

     * @see has, hasPath, hasPathIn
     * @example
     *
     * const object = create({ 'a': create({ 'b': 2 }) })
     *
     * hasIn(object, 'a')
     * // => true
     *
     * hasIn(object, 'b')
     * // => false
     */
    function hasIn(object, key) {
      return object != null && key in Object(object)
    }
    
    JavaScript
    - Registered: 2021-07-30 12:22
    - Last Modified: 2017-02-27 07:07
    - 553 bytes
    - Viewed (0)
  7. cmd/devp2p/internal/ethtest/chain.go

    }
    
    // ForkID gets the fork id of the chain.
    func (c *Chain) ForkID() forkid.ID {
    	return forkid.NewID(c.chainConfig, c.blocks[0].Hash(), uint64(c.Len()))
    }
    
    // Shorten returns a copy chain of a desired height from the imported
    func (c *Chain) Shorten(height int) *Chain {
    	blocks := make([]*types.Block, height)
    	copy(blocks, c.blocks[:height])
    
    	config := *c.chainConfig
    	return &Chain{
    		blocks:      blocks,
    Go
    - Registered: 2021-07-25 18:27
    - Last Modified: 2021-05-25 21:09
    - 4.9K bytes
    - Viewed (0)
  8. __tests__/hasIn.ts

    ///<reference path='../resources/jest.d.ts'/>
    
    import { fromJS, hasIn, List, Map } from '../';
    
    describe('hasIn', () => {
      it('deep has', () => {
        const m = fromJS({ a: { b: { c: 10, d: undefined } } });
        expect(m.hasIn(['a', 'b', 'c'])).toEqual(true);
        expect(m.hasIn(['a', 'b', 'd'])).toEqual(true);
        expect(m.hasIn(['a', 'b', 'z'])).toEqual(false);
        expect(m.hasIn(['a', 'y', 'z'])).toEqual(false);
    Plain Text
    - Registered: 2021-07-29 00:31
    - Last Modified: 2017-10-18 20:48
    - 2.6K bytes
    - Viewed (0)
  9. src/functional/hasIn.js

     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
    
    import { getIn } from './getIn';
    import { NOT_SET } from '../TrieUtils';
    
    export function hasIn(collection, keyPath) {
      return getIn(collection, keyPath, NOT_SET) !== NOT_SET;
    JavaScript
    - Registered: 2021-07-29 00:31
    - Last Modified: 2017-10-16 16:03
    - 363 bytes
    - Viewed (0)
  10. src/chain.h

        }
    
        /** Find the successor of a block in this chain, or nullptr if the given index is not found or is the tip. */
        CBlockIndex *Next(const CBlockIndex *pindex) const {
            if (Contains(pindex))
                return (*this)[pindex->nHeight + 1];
            else
                return nullptr;
        }
    
        /** Return the maximal height in the chain. Is equal to chain.Tip() ? chain.Tip()->nHeight : -1. */
        int Height() const {
    C
    - Registered: 2021-07-27 01:31
    - Last Modified: 2021-06-03 11:53
    - 15K bytes
    - Viewed (0)
Back to top