Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,501 for desk (0.06 sec)

  1. cmd/metrics.go

    		float64(totalDisks.Sum()),
    	)
    
    	for _, disk := range server.Disks {
    		// Total disk usage by the disk
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName(diskNamespace, "storage", "used"),
    				"Total disk storage used on the drive",
    				[]string{"disk"}, nil),
    			prometheus.GaugeValue,
    			float64(disk.UsedSpace),
    			disk.DrivePath,
    		)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/crypto/x509/pem_decrypt.go

    var rfc1423Algos = []rfc1423Algo{{
    	cipher:     PEMCipherDES,
    	name:       "DES-CBC",
    	cipherFunc: des.NewCipher,
    	keySize:    8,
    	blockSize:  des.BlockSize,
    }, {
    	cipher:     PEMCipher3DES,
    	name:       "DES-EDE3-CBC",
    	cipherFunc: des.NewTripleDESCipher,
    	keySize:    24,
    	blockSize:  des.BlockSize,
    }, {
    	cipher:     PEMCipherAES128,
    	name:       "AES-128-CBC",
    	cipherFunc: aes.NewCipher,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    	// removing the disk, used to recreate disk not found error.
    	os.RemoveAll(diskPath)
    
    	// TestXLStorage for delete on an removed disk.
    	// should fail with disk not found.
    	err = xlStorageDeletedStorage.DeleteVol(context.Background(), "Del-Vol", false)
    	if err != errDiskNotFound {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    if ( !Objects.equals(getServerWithDfs(), dest.getServerWithDfs()) || !Objects.equals(getShare(), dest.getShare()) ) {
                        throw new SmbException("Cannot rename between different trees");
                    }
                }
    
                if ( log.isDebugEnabled() ) {
                    log.debug("renameTo: " + getUncPath() + " -> " + dest.getUncPath());
                }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  5. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    func TestMonitorShutdown(t *testing.T) {
    	var tests = []struct {
    		desc           string
    		shutdownActive bool
    	}{
    		{
    			desc:           "shutdown is active",
    			shutdownActive: true,
    		},
    		{
    			desc:           "shutdown is not active",
    			shutdownActive: false,
    		},
    	}
    
    	for _, tc := range tests {
    		tc := tc
    		t.Run(tc.desc, func(t *testing.T) {
    			fakeSystemBus := &fakeSystemDBus{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. internal/kms/secret-key.go

    // name of the secretKey.
    //
    // The returned DEK is encrypted using AES-GCM and the ciphertext format is compatible
    // with KES and MinKMS.
    func (s secretKey) GenerateKey(_ context.Context, req *GenerateKeyRequest) (DEK, error) {
    	if req.Name != s.keyID {
    		return DEK{}, ErrKeyNotFound
    	}
    	associatedData, err := req.AssociatedData.MarshalText()
    	if err != nil {
    		return DEK{}, err
    	}
    
    	const randSize = 28
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/crypto/x509/pem_decrypt_test.go

    	password []byte
    	pemData  []byte
    	plainDER string
    }{
    	{
    		kind:     PEMCipherDES,
    		password: []byte("asdf"),
    		pemData: []byte(testingKey(`
    -----BEGIN RSA TESTING KEY-----
    Proc-Type: 4,ENCRYPTED
    DEK-Info: DES-CBC,34F09A4FC8DE22B5
    
    WXxy8kbZdiZvANtKvhmPBLV7eVFj2A5z6oAxvI9KGyhG0ZK0skfnt00C24vfU7m5
    ICXeoqP67lzJ18xCzQfHjDaBNs53DSDT+Iz4e8QUep1xQ30+8QKX2NA2coee3nwc
    6oM1cuvhNUDemBH2i3dKgMVkfaga0zQiiOq6HJyGSncCMSruQ7F9iWEfRbFcxFCx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 20:03:55 UTC 2019
    - 8.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	testCases := []struct {
    		desc    string
    		config  string
    		want    []healthChecker
    		wantErr string
    		kmsv2   bool
    		kmsv1   bool
    	}{
    		{
    			desc:    "Invalid config file path",
    			config:  "invalid/path",
    			want:    nil,
    			wantErr: `error reading encryption provider configuration file "invalid/path"`,
    		},
    		{
    			desc:    "Empty config file content",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * new <tt>SmbFile</tt></i>.
     *
     * @param  dest  An <code>SmbFile</code> that represents the new pathname
     * @throws NullPointerException
     *         If the <code>dest</code> argument is <code>null</code>
     */
        public void renameTo( SmbFile dest ) throws SmbException {
            if( getUncPath0().length() == 1 || dest.getUncPath0().length() == 1 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    			return fmt.Errorf("next: %v", err)
    		}
    
    		dest := filepath.Join(destination, header.Name)
    		switch header.Typeflag {
    		case tar.TypeDir:
    			if _, err := os.Stat(dest); err != nil {
    				if err := os.Mkdir(dest, 0o755); err != nil {
    					return fmt.Errorf("mkdir: %v", err)
    				}
    			}
    		case tar.TypeReg:
    			// Create containing folder if not present
    			dir := path.Dir(dest)
    			if _, err := os.Stat(dir); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top