Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for newsize (0.21 sec)

  1. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	dsw cache.DesiredStateOfWorld, asw cache.ActualStateOfWorld, newSize resource.Quantity) []v1.UniqueVolumeName {
    	dswp.ReprocessPod(uniquePodName)
    	dswp.findAndAddNewPods()
    	return getResizeRequiredVolumes(dsw, asw, newSize)
    }
    
    func getResizeRequiredVolumes(dsw cache.DesiredStateOfWorld, asw cache.ActualStateOfWorld, newSize resource.Quantity) []v1.UniqueVolumeName {
    	resizeRequiredVolumes := []v1.UniqueVolumeName{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			pvWithSize.Spec.Capacity[v1.ResourceStorage] = tc.newPVSize
    			volumeSpec = &volume.Spec{PersistentVolume: pvWithSize}
    			dsw.AddPodToVolume(podName, pod, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, nil /* seLinuxContexts */)
    
    			t.Logf("Changing size of the volume to %s", tc.newPVSize.String())
    			newSize := tc.newPVSize.DeepCopy()
    			dsw.UpdatePersistentVolumeSize(volumeName, &newSize)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    func (plugin *FakeVolumePlugin) GetDeviceMountRefs(deviceMountPath string) ([]string, error) {
    	return []string{}, nil
    }
    
    // Expandable volume support
    func (plugin *FakeVolumePlugin) ExpandVolumeDevice(spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) {
    	return resource.Quantity{}, nil
    }
    
    func (plugin *FakeVolumePlugin) RequiresFSResize() bool {
    	return !plugin.DisableNodeExpansion
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/runtime/map.go

    		}
    
    		srcK := add(unsafe.Pointer(src), dataOffset+uintptr(i)*uintptr(t.KeySize))
    		srcEle := add(unsafe.Pointer(src), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+uintptr(i)*uintptr(t.ValueSize))
    		dstK := add(unsafe.Pointer(dst), dataOffset+uintptr(pos)*uintptr(t.KeySize))
    		dstEle := add(unsafe.Pointer(dst), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+uintptr(pos)*uintptr(t.ValueSize))
    
    		dst.tophash[pos] = src.tophash[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/elf.go

    		}
    	}
    
    	sh.Type = uint32(typ)
    	sh.Entsize = uint64(arch.RegSize) * 2
    	if typ == elf.SHT_RELA {
    		sh.Entsize += uint64(arch.RegSize)
    	}
    	sh.Link = uint32(elfshname(".symtab").shnum)
    	sh.Info = uint32(sect.Elfsect.(*ElfShdr).shnum)
    	sh.Off = sect.Reloff
    	sh.Size = sect.Rellen
    	sh.Addralign = uint64(arch.RegSize)
    	return sh
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  6. src/debug/elf/file_test.go

    			Link:      0xFF10,
    			Info:      0x02,
    			Addralign: 0x04,
    			Entsize:   0x10,
    		})
    		// .symtab_shndx
    		binary.Write(&buf, binary.LittleEndian, Section32{
    			Name:      0x0CF3AD,
    			Type:      uint32(SHT_SYMTAB_SHNDX),
    			Off:       0x13ED1C,
    			Size:      0x03FC28,
    			Link:      0xFF0E,
    			Addralign: 0x04,
    			Entsize:   0x04,
    		})
    		// .strtab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	assertPathError(t, path, err)
    }
    
    // Use TempDir (via newFile) to make sure we're on a local file system,
    // so that timings are not distorted by latency and caching.
    // On NFS, timings can be off due to caching of meta-data on
    // NFS servers (Issue 848).
    func TestChtimes(t *testing.T) {
    	t.Parallel()
    
    	f := newFile("TestChtimes", t)
    	defer Remove(f.Name())
    
    	f.Write([]byte("hello, world\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. src/go/printer/nodes.go

    		if isIncomplete {
    			p.print(newline)
    			p.print("// " + filteredMsg)
    		}
    		if ws == ignore && mode&noIndent == 0 {
    			// unindent if we indented
    			p.print(unindent)
    		}
    		p.print(formfeed) // terminating comma needs a line break to look good
    		return
    	}
    
    	if isIncomplete {
    		p.print(token.COMMA, newline)
    		p.print("// "+filteredMsg, newline)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        }
        assertFailsWith<IllegalStateException> {
          newSink(0)
        }
        assertFailsWith<IllegalStateException> {
          commit()
        }
        assertFailsWith<IllegalStateException> {
          abort()
        }
      }
    
      private fun Editor.setString(
        index: Int,
        value: String,
      ) {
        newSink(index).buffer().use { writer ->
          writer.writeUtf8(value)
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

    			newmemberoffsetattr(fld, abi.MapBucketCount+abi.MapBucketCount*(int32(keysize)+int32(valsize)))
    			if d.arch.RegSize > d.arch.PtrSize {
    				fld = d.newdie(dwhb, dwarf.DW_ABRV_STRUCTFIELD, "pad")
    				d.newrefattr(fld, dwarf.DW_AT_type, d.uintptrInfoSym)
    				newmemberoffsetattr(fld, abi.MapBucketCount+abi.MapBucketCount*(int32(keysize)+int32(valsize))+int32(d.arch.PtrSize))
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top