Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 739 for lookUp (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.deleteRecursively(cacheDir)
        assertThat(cache["a"]).isNull()
      }
    
      /**
       * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries
       * being edited required deletion for the operation to complete.
       */
      @Test
      fun trimToSizeWithActiveEdit() {
        val expectedByteCount = if (windows) 10L else 0L
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

        String string = sequence.toString();
        int pos = indexIn(string);
        if (pos == -1) {
          return string;
        }
    
        char[] chars = string.toCharArray();
        int spread = 1;
    
        // This unusual loop comes from extensive benchmarking
        OUT:
        while (true) {
          pos++;
          while (true) {
            if (pos == chars.length) {
              break OUT;
            }
            if (matches(chars[pos])) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
       *
       * - lambda: Outside Google, we got a report of a similar problem in
       *   https://github.com/google/guava/issues/6565
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.10.md

        * The vSphere cloud provider has a cleanup function with a loop,
        * inside of which a write lock was intended to prevent races against
        * VM creation, but the usage of the sync.RWMutex type is incorrect,
        * plus is placed in a defer call so the locking is effectively
        * nonexistent.  This patch adds an anonymous function call inside
        * the loop to correctly handle acquiring the write lock with deferred
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 341.8K bytes
    - Click Count (0)
  5. cmd/xl-storage_test.go

    	shard := make([]byte, shardSize)
    	w := newStreamingBitrotWriter(storage, "", volName, fileName, size, algo, shardSize)
    	reader := bytes.NewReader(data)
    	for {
    		// Using io.Copy instead of this loop will not work for us as io.Copy
    		// will use bytes.Reader.WriteTo() which will not do shardSize'ed writes
    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    		if err == nil {
    			continue
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                case NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND:
                case NtStatus.NT_STATUS_OBJECT_PATH_NOT_FOUND:
                    // Cache negative results to avoid repeated failed lookups
                    this.attrExpiration = currentTime + getContext().getConfig().getAttributeCacheTimeout();
                    return false;
                default:
                    throw se;
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  7. cmd/admin-handlers-users.go

    			return
    		}
    		targetUser = lookupResult.NormDN
    		opts.claims[ldapUser] = targetUser // username DN
    		opts.claims[ldapActualUser] = lookupResult.ActualDN
    
    		// Add LDAP attributes that were looked up into the claims.
    		for attribKey, attribValue := range lookupResult.Attributes {
    			opts.claims[ldapAttribPrefix+attribKey] = attribValue
    		}
    
    		// NOTE: if not using LDAP, then internal IDP or open ID is
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  8. src/bufio/bufio_test.go

    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    // A StringReader delivers its data one string segment at a time via Read.
    type StringReader struct {
    	data []string
    	step int
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.6.md

      * You can remove the "old" taints (stored internally as annotations) at any time after the upgrade by doing `kubectl annotate nodes <node name> sch...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Click Count (0)
  10. src/bytes/bytes_test.go

    		var (
    			in  = []byte(tt.in)
    			old = []byte(tt.old)
    			new = []byte(tt.new)
    		)
    		b.Run(desc, func(b *testing.B) {
    			b.ReportAllocs()
    			for b.Loop() {
    				Replace(in, old, new, tt.n)
    			}
    		})
    	}
    }
    
    type TitleTest struct {
    	in, out string
    }
    
    var TitleTests = []TitleTest{
    	{"", ""},
    	{"a", "A"},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top