Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 570 for initializer (0.07 sec)

  1. cmd/erasure-multipart.go

    	// we now know the number of blocks this object needs for data and parity.
    	// establish the writeQuorum using this data
    	writeQuorum := dataDrives
    	if dataDrives == parityDrives {
    		writeQuorum++
    	}
    
    	// Initialize parts metadata
    	partsMetadata := make([]FileInfo, len(onlineDisks))
    
    	fi := newFileInfo(pathJoin(bucket, object), dataDrives, parityDrives)
    	fi.VersionID = opts.VersionID
    	if opts.Versioned && fi.VersionID == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  2. cmd/format-erasure_test.go

    			formats[i*setDriveCount+j] = newFormat
    		}
    	}
    
    	b.ResetTimer()
    	b.ReportAllocs()
    
    	for i := 0; i < b.N; i++ {
    		_, _ = getFormatErasureInQuorum(formats)
    	}
    }
    
    // Initialize new format sets.
    func TestNewFormatSets(t *testing.T) {
    	setCount := 2
    	setDriveCount := 16
    
    	format := newFormatErasureV3(setCount, setDriveCount)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
        }
      }
    }
    
    fun main() {
      // Call this before anything else initialises the JSSE stack.
      WireSharkListenerFactory.register()
    
      val example = WiresharkExample(tlsVersions = listOf(TLS_1_2), launch = CommandLine)
      example.run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

        
                            /* Create SMB signature digest if necessary
                             * Only the first SMB_COM_SESSION_SETUP_ANX with non-null or
                             * blank password initializes signing.
                             */
                            if (transport.isSignatureSetupRequired( auth )) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

         * 
         */
        protected BaseConfiguration () throws CIFSException {
            this(false);
        }
    
    
        /**
         * 
         * @param initDefaults
         *            whether to initialize defaults based on other settings
         * @throws CIFSException
         */
        public BaseConfiguration ( boolean initDefaults ) throws CIFSException {
            if ( initDefaults ) {
                this.initDefaults();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	startTime := time.Now()
    	source := getSource(2)
    	return func(sz int64, err error) {
    		globalTrace.Publish(sftpTrace(s, startTime, source, user, err, sz))
    	}
    }
    
    // NewSFTPDriver initializes sftp.Handlers implementation of following interfaces
    //
    // - sftp.Fileread
    // - sftp.Filewrite
    // - sftp.Filelist
    // - sftp.Filecmd
    func NewSFTPDriver(perms *ssh.Permissions) sftp.Handlers {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. internal/event/target/nats.go

    		queueStore = store.NewQueueStore[event.Event](queueDir, args.QueueLimit, event.StoreExtension)
    		if err := queueStore.Open(); err != nil {
    			return nil, fmt.Errorf("unable to initialize the queue store of NATS `%s`: %w", id, err)
    		}
    	}
    
    	target := &NATSTarget{
    		id:         event.TargetID{ID: id, Name: "nats"},
    		args:       args,
    		loggerOnce: loggerOnce,
    		store:      queueStore,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

            saveToken();
            return asHtml(path_AdminDictSynonym_AdminDictSynonymEditJsp).useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                    form.dictId = dictId;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            saveToken();
            return asHtml(path_AdminDictMapping_AdminDictMappingEditJsp).useForm(CreateForm.class, op -> {
                op.setup(form -> {
                    form.initialize();
                    form.crudMode = CrudMode.CREATE;
                    form.dictId = dictId;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    	defer r.RUnlock()
    
    	st, ok := r.Cache[bucket]
    	if !ok {
    		return BucketReplicationStats{Stats: make(map[string]*BucketReplicationStat)}
    	}
    	return st.Clone()
    }
    
    // NewReplicationStats initialize in-memory replication statistics
    func NewReplicationStats(ctx context.Context, objectAPI ObjectLayer) *ReplicationStats {
    	r := metrics.NewRegistry()
    	rs := ReplicationStats{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top