Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 383 for wrap (1.25 sec)

  1. internal/config/config.go

    	return ge.msg
    }
    
    // ErrConfigNotFound is an error to indicate
    // that a config parameter is not found
    type ErrConfigNotFound struct {
    	ErrConfigGeneric
    }
    
    // Error creates an error message and wraps
    // it with the error type specified in the type parameter
    func Error[T ErrorConfig, PT interface {
    	*T
    	setMsg(string)
    }](format string, vals ...any,
    ) T {
    	pt := PT(new(T))
    	pt.setMsg(fmt.Sprintf(format, vals...))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 37.7K bytes
    - Viewed (0)
  2. cmd/api-response.go

    			return trw.headerWritten
    		} else if uw, ok := w.(unwrapper); ok {
    			w = uw.Unwrap()
    		} else {
    			return false
    		}
    	}
    }
    
    // trackingResponseWriter wraps a ResponseWriter and notes when WriterHeader has
    // been called. This allows high level request handlers to check if something
    // has already sent the header.
    type trackingResponseWriter struct {
    	http.ResponseWriter
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

       * there is no need to use this method.
       *
       * @param comparator the comparator that defines the order
       * @return comparator itself if it is already an {@code Ordering}; otherwise an ordering that
       *     wraps that comparator
       */
      public static <T extends @Nullable Object> Ordering<T> from(Comparator<T> comparator) {
        return (comparator instanceof Ordering)
            ? (Ordering<T>) comparator
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

       * Language</a>.
       *
       * @since 13.0
       */
      public static final MediaType WML_UTF_8 = createConstantUtf8(TEXT_TYPE, "vnd.wap.wml");
    
      /**
       * As described in <a href="http://www.ietf.org/rfc/rfc3023.txt">RFC 3023</a>, this constant
       * ({@code text/xml}) is used for XML documents that are "readable by casual users." {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    		}
    		if v.wantErr == nil && r.Len() == 0 {
    			t.Errorf("test %d, canary byte unexpectedly consumed", i)
    		}
    	}
    }
    
    // testNonEmptyReader wraps an io.Reader and ensures that
    // Read is never called with an empty buffer.
    type testNonEmptyReader struct{ io.Reader }
    
    func (r testNonEmptyReader) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    			if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' {
    				continue
    			}
    			return false
    		}
    
    		// General case. SimpleFold(x) returns the next equivalent rune > x
    		// or wraps around to smaller values.
    		r := unicode.SimpleFold(sr)
    		for r != sr && r < tr {
    			r = unicode.SimpleFold(r)
    		}
    		if r == tr {
    			continue
    		}
    		return false
    	}
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(key);
        checkNothingLogged();
        assertThat(countingLoader.getCount()).isEqualTo(3);
      }
    
      /**
       * Make sure LoadingCache correctly wraps ExecutionExceptions and UncheckedExecutionExceptions.
       */
      public void testLoadingExceptionWithCause() {
        Exception cause = new Exception();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(key);
        checkNothingLogged();
        assertThat(countingLoader.getCount()).isEqualTo(3);
      }
    
      /**
       * Make sure LoadingCache correctly wraps ExecutionExceptions and UncheckedExecutionExceptions.
       */
      public void testLoadingExceptionWithCause() {
        Exception cause = new Exception();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    couchpotatofries.org
    council.aero
    country
    coupon
    coupons
    courses
    coz.br
    cpa
    cpa.pro
    cprapid.com
    cpserver.com
    cq.cn
    cr
    cr.it
    cr.ua
    craft.me
    cranky.jp
    crap.jp
    crd.co
    credit
    creditcard
    creditunion
    cremona.it
    crew.aero
    cri.br
    cri.nz
    cricket
    crimea.ua
    crotone.it
    crown
    crs
    cruise
    cruises
    cs.in
    cs.it
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
Back to top