Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1911 - 1920 of 3,763 for int (0.02 sec)

  1. cmd/notification.go

    type NotificationGroup struct {
    	workers    *workers.Workers
    	errs       []NotificationPeerErr
    	retryCount int
    }
    
    // WithNPeers returns a new NotificationGroup with length of errs slice upto nerrs,
    // upon Wait() errors are returned collected from all tasks.
    func WithNPeers(nerrs int) *NotificationGroup {
    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	wk, _ := workers.New(nerrs)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. cmd/object-handlers-common_test.go

    		name              string
    		ifMatch           string
    		ifNoneMatch       string
    		ifModifiedSince   string
    		ifUnmodifiedSince string
    		objInfo           ObjectInfo
    		expectedFlag      bool
    		expectedCode      int
    	}{
    		// If-None-Match(false) and If-Modified-Since(true)
    		{
    			name:            "If-None-Match1",
    			ifNoneMatch:     "aa",
    			ifModifiedSince: "Sun, 26 Aug 2024 02:01:00 GMT",
    			objInfo:         objInfo,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            primitiveTypes.add("boolean");
            primitiveTypes.add("byte");
            primitiveTypes.add("char");
            primitiveTypes.add("short");
            primitiveTypes.add("int");
            primitiveTypes.add("long");
            primitiveTypes.add("float");
            primitiveTypes.add("double");
            primitiveTypes.add("void");
            groovyImplicitImportPackages.add("java.util.");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                        } else if ((value = getValue(CRAWL_DELAY_RECORD, line)) != null) {
                            if (!currentDirectiveList.isEmpty()) {
                                try {
                                    final int crawlDelay = Integer.parseInt(value);
                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

    package okhttp3.internal
    
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import okio.ByteString
    
    fun ByteArray.commonToRequestBody(
      contentType: MediaType?,
      offset: Int,
      byteCount: Int,
    ): RequestBody {
      checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong())
      return object : RequestBody() {
        override fun contentType() = contentType
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

      public Queue<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

            for ( int si = 0; si < sids.length; si++ ) {
                this.sids[ si ] = new lsarpc.LsarSidPtr();
                this.sids[ si ].sid = sids[ si ].unwrap(sid_t.class);
            }
        }
    
    
        LsarSidArrayX ( SID[] sids ) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for ( int si = 0; si < sids.length; si++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

     */
    package org.codelibs.core.timer;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class TimeoutManagerTest extends TestCase {
    
        private int expiredCount;
    
        protected void setUp() throws Exception {
            expiredCount = 0;
            TimeoutManager.getInstance().clear();
        }
    
        protected void tearDown() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/tier_test.go

    		switch metric.Description.Name {
    		case tierRequestsSuccess:
    			succ += metric.Value
    		case tierRequestsFailure:
    			fail += metric.Value
    		}
    	}
    	if int(succ) != expSuccess {
    		t.Fatalf("Expected %d successes but got %f", expSuccess, succ)
    	}
    	if int(fail) != expFailure {
    		t.Fatalf("Expected %d failures but got %f", expFailure, fail)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 21 04:13:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. internal/disk/directio_darwin.go

    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	_, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top