Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for ndarray (0.2 sec)

  1. src/go/types/array.go

    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    func (a *Array) Len() int64 { return a.len }
    
    // Elem returns element type of array a.
    func (a *Array) Elem() Type { return a.elem }
    
    func (a *Array) Underlying() Type { return a }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 927 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/array.go

    package types2
    
    // An Array represents an array type.
    type Array struct {
    	len  int64
    	elem Type
    }
    
    // NewArray returns a new array type for the given element type and length.
    // A negative length indicates an unknown length.
    func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
    
    // Len returns the length of array a.
    // A negative result indicates an unknown length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 803 bytes
    - Viewed (0)
  3. test/named.go

    func main() {
    	var (
    		a     Array
    		b     Bool   = true
    		c     Chan   = make(Chan)
    		f     Float  = 1
    		i     Int    = 1
    		m     Map    = make(Map)
    		slice Slice  = make(Slice, 10)
    		str   String = "hello"
    	)
    
    	asArray(a)
    	isArray(a)
    	asArray(*&a)
    	isArray(*&a)
    	asArray(Array{})
    	isArray(Array{})
    
    	asBool(b)
    	isBool(b)
    	asBool(!b)
    	isBool(!b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.6K bytes
    - Viewed (0)
  4. test/ken/array.go

    Rob Pike <******@****.***> 1330061064 +1100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.3K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXShellScriptBuildPhase.java

            super.serializeInto(s);
    
            NSArray inputPathsArray = new NSArray(inputPaths.size());
            for (int i = 0; i < inputPaths.size(); i++) {
                inputPathsArray.setValue(i, new NSString(inputPaths.get(i)));
            }
            s.addField("inputPaths", inputPathsArray);
    
            NSArray outputPathsArray = new NSArray(outputPaths.size());
            for (int i = 0; i < outputPaths.size(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

            var first = true
            list.forEach {
                if (first) first = false else comma()
                body(it)
            }
            endArray()
        }
    
        private
        fun beginArray() {
            write('[')
        }
    
        private
        fun endArray() {
            write(']')
        }
    
        private
        fun property(name: String, value: String) {
            property(name) { jsonString(value) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ObjectArrays.java

          array = newArray(array, size);
        }
        fillArray(c, array);
        if (array.length > size) {
          @Nullable Object[] unsoundlyCovariantArray = array;
          unsoundlyCovariantArray[size] = null;
        }
        return array;
      }
    
      /**
       * Implementation of {@link Collection#toArray(Object[])} for collections backed by an object
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class SRuntimeExceptionTest {
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/InvalidKeyRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    
    /**
     * {@link NoSuchAlgorithmException}をラップする例外です。
     *
     * @author shinsuke
     */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/exception/NoSuchPaddingRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import javax.crypto.NoSuchPaddingException;
    
    /**
     * {@link NoSuchPaddingException}をラップする例外です。
     *
     * @author shinsuke
     */
    public class NoSuchPaddingRuntimeException extends ClRuntimeException {
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top