Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 190 for decl (0.06 sec)

  1. guava/src/com/google/common/io/CharStreams.java

        // The most common case is that from is a Reader (like InputStreamReader or StringReader) so
        // take advantage of that.
        if (from instanceof Reader) {
          // optimize for common output types which are optimized to deal with char[]
          if (to instanceof StringBuilder) {
            return copyReaderToBuilder((Reader) from, (StringBuilder) to);
          } else {
            return copyReaderToWriter((Reader) from, asWriter(to));
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            saveCursorPositionSCO();
            return saveCursorPositionDEC();
        }
    
        // SCO command
        public Ansi saveCursorPositionSCO() {
            return appendEscapeSequence('s');
        }
    
        // DEC command
        public Ansi saveCursorPositionDEC() {
            builder.append(FIRST_ESC_CHAR);
            builder.append('7');
            return this;
        }
    
        public Ansi restoreCursorPosition() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. internal/event/target/mqtt.go

    		if os.IsNotExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	if err = target.send(eventData); err != nil {
    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key)
    }
    
    // Save - saves the events to the store if queuestore is configured, which will
    // be replayed when the mqtt connection is active.
    func (target *MQTTTarget) Save(eventData event.Event) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. internal/event/target/webhook.go

    	if err := target.send(eventData); err != nil {
    		if xnet.IsNetworkOrHostDown(err, false) {
    			return store.ErrNotConnected
    		}
    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key)
    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *WebhookTarget) Close() error {
    	target.cancel()
    	return nil
    }
    
    func (target *WebhookTarget) init() error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication-stats.go

    	atomic.AddInt64(&v.nowCount, 1)
    	r.qCache.bucketStats[bucket] = v
    	atomic.AddInt64(&r.qCache.srQueueStats.nowBytes, sz)
    	atomic.AddInt64(&r.qCache.srQueueStats.nowCount, 1)
    }
    
    func (r *ReplicationStats) decQ(bucket string, sz int64, isDelMarker bool, opType replication.Type) {
    	r.qCache.Lock()
    	defer r.qCache.Unlock()
    	v, ok := r.qCache.bucketStats[bucket]
    	if !ok {
    		v = newInQueueStats(r.registry, bucket)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests that deal with caches that actually contain some key-value mappings.
     *
     * @author mike nonemacher
     */
    
    public class PopulatedCachesTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      @Suppress("NAME_SHADOWING")
      companion object {
        private val YEAR_PATTERN = Pattern.compile("(\\d{2,4})[^\\d]*")
        private val MONTH_PATTERN =
          Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*")
        private val DAY_OF_MONTH_PATTERN = Pattern.compile("(\\d{1,2})[^\\d]*")
        private val TIME_PATTERN = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*")
    
        private fun domainMatch(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    		// the behavior is verified by researching the source code.
    		//
    		//	$ bsdtar -tvf pax-global-records.tar
    		//	----------  0 0      0           0 Dec 31  1969 file1
    		//	----------  0 0      0           0 Dec 31  1969 file2
    		//	----------  0 0      0           0 Dec 31  1969 file3
    		//	----------  0 0      0           0 May 13  2014 file4
    		//
    		// GNU tar v1.27.1 applies global headers to subsequent records,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CookiesTest.kt

            .build()
        val urlWithIpAddress = urlWithIpAddress(server, "/path/foo")
        server.enqueue(
          MockResponse.Builder()
            .addHeader(
              "Set-Cookie: a=android; " +
                "expires=Fri, 31-Dec-9999 23:59:59 GMT; " +
                "path=/path; " +
                "domain=${urlWithIpAddress.host}; " +
                "secure",
            )
            .build(),
        )
        get(urlWithIpAddress)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests that deal with caches that actually contain some key-value mappings.
     *
     * @author mike nonemacher
     */
    
    public class PopulatedCachesTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top