Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for Hevery (5.8 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

     * environment if possible) before spending a lot of effort on tweaking a particular element.
     *
     * <h3>Other types of preconditions</h3>
     *
     * <p>Not every type of precondition failure is supported by these methods. Continue to throw
     * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
     * UnsupportedOperationException} in the situations they are intended for.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        step4Waiter.awaitReturned();
        assertThat(getFinalValue(step4)).isEqualTo("value 4");
    
        // Step 4's closeable is now closed.
        assertClosed(closeable4);
        // Step 3 still never ran, so its closeable should still be open.
        assertStillOpen(closeable3);
      }
    
      public void testTransform() throws Exception {
        ClosingFuture<String> closingFuture =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            /*
             * toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because it can
             * be used with collections that may contain null. This collection never contains nulls, so
             * we could return `Object[]`. But this class is private and J2KT cannot change return types
             * in overrides, so we declare `@Nullable Object[]` as the return type.
             */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    	// Minimum alignment for a struct is 1 byte.
    	align = 1
    
    	var buf strings.Builder
    	buf.WriteString("struct {")
    	fld := make([]*ast.Field, 0, 2*len(dt.Field)+1) // enough for padding around every field
    	sizes := make([]int64, 0, 2*len(dt.Field)+1)
    	off := int64(0)
    
    	// Rename struct fields that happen to be named Go keywords into
    	// _{keyword}.  Create a map from C ident -> Go ident. The Go ident will
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    		if v == nil {
    			v = set.CreateStringSet(group)
    		} else {
    			v.Add(group)
    		}
    		c.iamUserGroupMemberships[member] = v
    	}
    }
    
    // removeGroupFromMembershipsMap - removes the group from every member
    // in the cache. IMPORTANT: Assumes c.Lock() is held by caller.
    func (c *iamCache) removeGroupFromMembershipsMap(group string) {
    	for member, groups := range c.iamUserGroupMemberships {
    		if !groups.Contains(group) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.filter(
                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = Collections.emptyList();
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterators.filter(
                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = Collections.emptyList();
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

     * </code></td>
     * </tr>
     * 
     * </table>
     *
     * <p>
     * Instances of the <code>SmbFile</code> class are immutable; that is,
     * once created, the abstract pathname represented by an SmbFile object
     * will never change.
     *
     * @see java.io.File
     */
    
    public class SmbFile extends URLConnection implements SmbResource, SmbConstants {
        protected static final int ATTR_GET_MASK = 0x7FFF;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
        // Simulate a severe Filesystem failure on the first initialization.
        filesystem.setFaultyDelete(cacheDir / "k1.0.tmp", true)
        filesystem.setFaultyDelete(cacheDir, true)
        cache =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top