Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,136 for ndarray (0.05 sec)

  1. src/main/java/jcifs/netbios/NbtAddress.java

        }
    
    
        /**
         * Returns the raw IP address of this NbtAddress. The result is in network
         * byte order: the highest order byte of the address is in getAddress()[0].
         *
         * @return a four byte array
         */
        public byte[] getAddress () {
            byte[] addr = new byte[4];
            addr[ 0 ] = (byte) ( ( this.address >>> 24 ) & 0xFF );
            addr[ 1 ] = (byte) ( ( this.address >>> 16 ) & 0xFF );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    // making zero values useful and gmp's decision not to.
    func (z *Int) doinit() {
    	if z.init {
    		return
    	}
    	z.init = true
    	C.mpz_init(&z.i[0])
    }
    
    // Bytes returns z's representation as a big-endian byte array.
    func (z *Int) Bytes() []byte {
    	b := make([]byte, (z.Len()+7)/8)
    	n := C.size_t(len(b))
    	C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0])
    	return b[0:n]
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.h

        TF_Status* status);
    
    // Information about the shape of a Tensor and its type.
    struct TF_ShapeAndType {
      // Number of dimensions. -1 indicates unknown rank.
      int num_dims;
      // Array of dimensions. -1 indicates unknown dim.
      int64_t* dims;
      // The data type. May be 0 to denote unknown type.
      TF_DataType dtype;
    };
    
    typedef struct TF_ShapeAndType TF_ShapeAndType;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser_test.go

    	)
    
    	j := JSONPathElement{}
    	cases := []string{
    		// Key
    		"['name']", ".name", `."name"`,
    
    		// Index
    		"[2]", "[0]", "[100]",
    
    		// Object wildcard
    		".*",
    
    		// array wildcard
    		"[*]",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        searchRequestBuilder.setQuery(
                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
                        searchRequestBuilder.setFetchSource(new String[] { docIdField }, StringUtil.EMPTY_STRINGS);
                        return true;
                    }).forEach(m -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    // This is usually orders of magnitude faster than actually sorting.
    func (m metaCacheEntries) isSorted() bool {
    	return sort.SliceIsSorted(m, m.less)
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntries) shallowClone() metaCacheEntries {
    	dst := make(metaCacheEntries, len(m))
    	copy(dst, m)
    	return dst
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

          i++
        }
        val groupLength = i - groupOffset
        if (groupLength == 0 || groupLength > 4) return null // Group is the wrong size.
    
        // We've successfully read a group. Assign its value to our byte array.
        address[b++] = (value.ushr(8) and 0xff).toByte()
        address[b++] = (value and 0xff).toByte()
      }
    
      // All done. If compression happened, we need to move bytes to the right place in the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SID.java

                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
         * Convert a sid_t to byte array
         * 
         * @param sid
         * @return byte encoded form
         */
        public static byte[] toByteArray ( rpc.sid_t sid ) {
            byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-nested-models.md

    {!> ../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    ////
    
    /// info
    
    请注意 `Offer` 拥有一组 `Item` 而反过来 `Item` 又是一个可选的 `Image` 列表是如何发生的。
    
    ///
    
    ## 纯列表请求体
    
    如果你期望的 JSON 请求体的最外层是一个 JSON `array`(即 Python `list`),则可以在路径操作函数的参数中声明此类型,就像声明 Pydantic 模型一样:
    
    ```Python
    images: List[Image]
    ```
    
    例如:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    --- a/misc/sys/cdefs.h
    +++ b/misc/sys/cdefs.h
    @@ -391,6 +391,15 @@
     
     #include <bits/wordsize.h>
     
    +#if __GNUC_PREREQ (8, 0)
    +/* Describes a char array whose address can safely be passed as the first
    +   argument to strncpy and strncat, as the char array is not necessarily
    +   a NUL-terminated string.  */
    +# define __attribute_nonstring__ __attribute__ ((__nonstring__))
    +#else
    +# define __attribute_nonstring__
    +#endif
    +
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
Back to top