Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,321 for reqSize (0.12 sec)

  1. src/runtime/msize.go

    		if reqSize <= smallSizeMax-8 {
    			return uintptr(class_to_size[size_to_class8[divRoundUp(reqSize, smallSizeDiv)]]) - (reqSize - size)
    		}
    		return uintptr(class_to_size[size_to_class128[divRoundUp(reqSize-smallSizeMax, largeSizeDiv)]]) - (reqSize - size)
    	}
    	// Large object. Align reqSize up to the next page. Check for overflow.
    	reqSize += pageSize - 1
    	if reqSize < size {
    		return size
    	}
    	return reqSize &^ (pageSize - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/os/removeall_noat.go

    		if err != nil {
    			if IsNotExist(err) {
    				// Already deleted by someone else.
    				return nil
    			}
    			return err
    		}
    
    		const reqSize = 1024
    		var names []string
    		var readErr error
    
    		for {
    			numErr := 0
    			names, readErr = fd.Readdirnames(reqSize)
    
    			for _, name := range names {
    				err1 := RemoveAll(path + string(PathSeparator) + name)
    				if err == nil {
    					err = err1
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. src/os/removeall_at.go

    		return &PathError{Op: "unlinkat", Path: base, Err: err}
    	}
    	uErr := err
    
    	// Remove the directory's entries.
    	var recurseErr error
    	for {
    		const reqSize = 1024
    		var respSize int
    
    		// Open the directory to recurse into
    		file, err := openDirAt(parentFd, base)
    		if err != nil {
    			if IsNotExist(err) {
    				return nil
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    		if err != nil {
    			return nil, err
    		}
    	}
    
    	reqSize := uint32(4)
    	for {
    		buf := make([]GUID, reqSize)
    		err = setupDiClassGuidsFromNameEx(classNameUTF16, &buf[0], uint32(len(buf)), &reqSize, machineNameUTF16, 0)
    		if err == ERROR_INSUFFICIENT_BUFFER {
    			continue
    		}
    		if err != nil {
    			return nil, err
    		}
    		return buf[:reqSize], nil
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir

    // RUN: odml_to_stablehlo %s -skip-resize -smuggle-disallowed-ops -o - | FileCheck %s
    // RUN: odml-to-stablehlo-opt %s --smuggle-disallowed-ops-pass | FileCheck %s --check-prefix=CHECK-OPT
    
    // CHECK-LABEL: @main
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 975 : i32}, tf_saved_model.semantics}  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. pkg/kubelet/server/server_test.go

    	return f.execFunc(containerID, cmd, stdin, stdout, stderr, tty, resize)
    }
    
    func (f *fakeRuntime) Attach(_ context.Context, containerID string, stdin io.Reader, stdout, stderr io.WriteCloser, tty bool, resize <-chan remotecommand.TerminalSize) error {
    	return f.attachFunc(containerID, stdin, stdout, stderr, tty, resize)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/tf-tfl-translate-serialize-stablehlo-resize-bilinear.mlir

    Zichuan Wei <******@****.***> 1677736843 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 06:04:37 UTC 2023
    - 455 bytes
    - Viewed (0)
  8. pkg/client/tests/remotecommand_test.go

    	return ex.run(name, uid, container, cmd, in, out, err, tty)
    }
    
    func (ex *fakeExecutor) AttachContainer(_ context.Context, name string, uid types.UID, container string, in io.Reader, out, err io.WriteCloser, tty bool, resize <-chan remoteclient.TerminalSize) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        } catch (UnsupportedOperationException tolerated) {
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCount_oneToOne_addSupported() {
        assertOneToOne();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testSetCount_oneToOne_removeSupported() {
        assertOneToOne();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      }
    
      // retainAll(empty)
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmpty() {
        expectReturnsFalse(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top