Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 232 for RESIZE (0.14 sec)

  1. test-site/public/javascripts/suggestor.js

                    //ポジション設定
                    this.resize();
                    var suggestor = this;
                    $(window).resize(function() {
                        suggestor.resize();
                    });
    
                    $("body").append($boxElement);
                },
    
                suggest: function() {
                    suggestingSts = true;
    
                    //ポジション設定
                    this.resize();
    
                    var suggestor = this;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 14.6K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/plugins.go

    	"k8s.io/kubernetes/plugin/pkg/admission/security/podsecurity"
    	"k8s.io/kubernetes/plugin/pkg/admission/serviceaccount"
    	"k8s.io/kubernetes/plugin/pkg/admission/storage/persistentvolume/resize"
    	"k8s.io/kubernetes/plugin/pkg/admission/storage/storageclass/setdefault"
    	"k8s.io/kubernetes/plugin/pkg/admission/storage/storageobjectinuseprotection"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apiserver/pkg/admission"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 17:20:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. 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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  4. plugin/pkg/admission/storage/persistentvolume/resize/admission.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package resize
    
    import (
    	"context"
    	"fmt"
    	"io"
    
    	"k8s.io/apiserver/pkg/admission"
    	genericadmissioninitializer "k8s.io/apiserver/pkg/admission/initializer"
    	"k8s.io/client-go/informers"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  5. pkg/kubelet/status/state/state_checkpoint.go

    	return sc.cache.GetPodResourceAllocation()
    }
    
    // GetPodResizeStatus returns the last resize decision for a pod
    func (sc *stateCheckpoint) GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) {
    	sc.mux.RLock()
    	defer sc.mux.RUnlock()
    	return sc.cache.GetPodResizeStatus(podUID)
    }
    
    // GetResizeStatus returns the set of resize decisions made
    func (sc *stateCheckpoint) GetResizeStatus() PodResizeStatus {
    	sc.mux.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 00:16:44 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. pkg/kubelet/status/state/state_mem.go

    	}
    	klog.V(3).InfoS("Updated pod resize state", "podUID", podUID, "resizeStatus", resizeStatus)
    	return nil
    }
    
    func (s *stateMemory) SetResizeStatus(rs PodResizeStatus) error {
    	s.Lock()
    	defer s.Unlock()
    	prs := make(map[string]v1.PodResizeStatus)
    	for k, v := range rs {
    		prs[k] = v
    	}
    	s.podResizeStatus = prs
    	klog.V(3).InfoS("Updated pod resize state", "resizes", rs)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go

    	return b
    }
    
    // WithResize sets the Resize field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Resize field is set to the value of the last call.
    func (b *PodStatusApplyConfiguration) WithResize(value v1.PodResizeStatus) *PodStatusApplyConfiguration {
    	b.Resize = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:43:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. src/internal/fuzz/mutator_test.go

    		1,
    		10,
    		100,
    		1000,
    		10000,
    		100000,
    	} {
    		b.Run(strconv.Itoa(size), func(b *testing.B) {
    			buf := make([]byte, size)
    			b.ResetTimer()
    
    			for i := 0; i < b.N; i++ {
    				// resize buffer to the correct shape and reset the PCG
    				buf = buf[0:size]
    				m.r = newPcgRand()
    				m.mutate([]any{buf}, workerSharedMemSize)
    			}
    		})
    	}
    }
    
    func BenchmarkMutatorString(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    			// would generally be hit if starting the process fails and nothing is started to
    			// ingest these resize events.
    			return
    		}
    	}
    }
    
    // createChannels returns the standard channel types for a shell connection (STDIN 0, STDOUT 1, STDERR 2)
    // along with the approximate duplex value. It also creates the error (3) and resize (4) channels.
    func createChannels(opts Options) []wsstream.ChannelType {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc

        file->getBuffer().split(lines, "\n", -1, false);
        // The resize method is used since split operator puts tail value in the end
        // without splitting the leftovers.
        if (op.getVocabSize() != -1) lines.resize(op.getVocabSize());
    
        // Map each line to line number, starting from zero.
        SmallVector<int64_t, 8> line_nums;
        line_nums.resize(lines.size());
        std::iota(line_nums.begin(), line_nums.end(), 0);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top