Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for onresize (0.24 sec)

  1. src/main/webapp/css/admin/respond.min.js

    test(e)&&!r||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}w()};x(),c.update=x,c.getEmValue=t,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Oct 08 12:14:13 GMT 2015
    - 4.3K bytes
    - Viewed (0)
  2. src/main/webapp/js/suggestor.js

                  }
                );
    
                this.resize();
                suggestor = this;
                $(window).resize(function() {
                  suggestor.resize();
                });
    
                $("body").append($boxElement);
              },
    
              suggest: function() {
                suggestingSts = true;
    
                this.resize();
    
                var suggestor = this;
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Mar 30 05:45:24 GMT 2023
    - 13.3K bytes
    - Viewed (2)
  3. internal/config/crypto.go

    	key, err := k.GenerateKey(context.Background(), "", ctx)
    	if err != nil {
    		return nil, err
    	}
    	stream, err := algorithm.Stream(key.Plaintext)
    	if err != nil {
    		return nil, err
    	}
    	nonce := make([]byte, stream.NonceSize())
    	if _, err := rand.Read(nonce); err != nil {
    		return nil, err
    	}
    
    	const (
    		MaxMetadataSize = 1 << 20 // max. size of the metadata
    		Version         = 1
    	)
    	var (
    		header [5]byte
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        if (TF_GetCode(status_) != TF_OK) return "";
    
        std::string content;
        content.resize(file_size);
        auto read = tf_random_access_file::Read(reader.get(), 0, file_size,
                                                &content[0], status_);
        if (TF_GetCode(status_) != TF_OK) return "";
        if (read >= 0) content.resize(read);
        if (file_size != content.size())
          TF_SetStatus(
              status_, TF_DATA_LOSS,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  5. internal/kms/single-key.go

    			HTTPStatusCode: http.StatusBadRequest,
    			APICode:        "KMS.InternalException",
    			Err:            errors.New("invalid algorithm: " + algorithm),
    		}
    	}
    
    	nonce, err := sioutil.Random(aead.NonceSize())
    	if err != nil {
    		return DEK{}, err
    	}
    
    	plaintext, err := sioutil.Random(32)
    	if err != nil {
    		return DEK{}, err
    	}
    	associatedData, _ := context.MarshalText()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/debugging/inspect/decrypt-v1.go

    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .containsExactly(0, 1, 3)
            .inOrder();
      }
    
      public void testBuilder_presize_zero() {
        ImmutableIntArray.Builder builder = ImmutableIntArray.builder(0);
        builder.add(5);
        ImmutableIntArray array = builder.build();
        assertThat(array.asList()).containsExactly(5);
      }
    
      public void testBuilder_presize_negative() {
        try {
          ImmutableIntArray.builder(-1);
          fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/dlpack.cc

      dlm_tensor->dl_tensor.dtype = tf_dlm_type;
    
      std::vector<int64_t>* shape_arr = &tf_dlm_tensor_ctx->shape;
      std::vector<int64_t>* stride_arr = &tf_dlm_tensor_ctx->strides;
      shape_arr->resize(ndim);
      stride_arr->resize(ndim, 1);
      for (int i = 0; i < ndim; i++) {
        (*shape_arr)[i] = tensor->dim_size(i);
      }
      for (int i = ndim - 2; i >= 0; --i) {
        (*stride_arr)[i] = (*shape_arr)[i + 1] * (*stride_arr)[i + 1];
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testBuilder_presize_zero() {
        ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(0);
        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        try {
          ImmutableDoubleArray.builder(-1);
          fail();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
              // if this is a concern we could add special cases for some known charsets (like utf8)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
Back to top