Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,210 for cLower (0.18 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

        }
    
        Closer closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
          return countBySkipping(in);
        } catch (IOException e) {
          // skip may not be supported... at any rate, try reading
        } finally {
          closer.close();
        }
    
        closer = Closer.create();
        try {
          InputStream in = closer.register(openStream());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  2. src/strconv/itoa.go

    // for 2 <= base <= 36. The result uses the lower-case letters 'a' to 'z'
    // for digit values >= 10.
    func FormatUint(i uint64, base int) string {
    	if fastSmalls && i < nSmalls && base == 10 {
    		return small(int(i))
    	}
    	_, s := formatBits(nil, i, base, false, false)
    	return s
    }
    
    // FormatInt returns the string representation of i in the given base,
    // for 2 <= base <= 36. The result uses the lower-case letters 'a' to 'z'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/net/packetconn_test.go

    			skipOrFatalFn()
    			continue
    		}
    
    		c1, err := ListenPacket(tt.net, tt.addr1)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer closer(c1, tt.net, tt.addr1, tt.addr2)
    		c1.LocalAddr()
    
    		c2, err := ListenPacket(tt.net, tt.addr2)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer closer(c2, tt.net, tt.addr1, tt.addr2)
    		c2.LocalAddr()
    		rb2 := make([]byte, 128)
    
    		if _, err := c1.WriteTo(wb, c2.LocalAddr()); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
     *     ClosingFuture.submit(
     *             closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor),
     *             executor)
     *         .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor)
     *         .transform((closer, result) -> result.get("userName"), directExecutor())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  5. test/typeparam/issue48185b.dir/a.go

    import (
    	"reflect"
    	"sync"
    )
    
    type addressableValue struct{ reflect.Value }
    
    type arshalers[Options, Coder any] struct {
    	fncVals  []typedArshaler[Options, Coder]
    	fncCache sync.Map // map[reflect.Type]unmarshaler
    }
    type typedArshaler[Options, Coder any] struct {
    	typ reflect.Type
    	fnc func(Options, *Coder, addressableValue) error
    }
    
    type UnmarshalOptions1 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 07 20:37:05 UTC 2021
    - 1K bytes
    - Viewed (0)
  6. src/strconv/ftoaryu.go

    func computeBounds(mant uint64, exp int, flt *floatInfo) (lower, central, upper uint64, e2 int) {
    	if mant != 1<<flt.mantbits || exp == flt.bias+1-int(flt.mantbits) {
    		// regular case (or denormals)
    		lower, central, upper = 2*mant-1, 2*mant, 2*mant+1
    		e2 = exp - 1
    		return
    	} else {
    		// border of an exponent
    		lower, central, upper = 4*mant-1, 4*mant, 4*mant+2
    		e2 = exp - 2
    		return
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        closingFuture.finishToValueAndCloser(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        FluentFuture<Closeable> unused = closingFuture.finishToFuture();
        assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/IntMath.java

      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as an {@code
       *     int}, i.e. when {@code x > 2^30}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. src/debug/macho/fat.go

    	if err != nil {
    		return nil, err
    	}
    	ff, err := NewFatFile(f)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    	ff.closer = f
    	return ff, nil
    }
    
    func (ff *FatFile) Close() error {
    	var err error
    	if ff.closer != nil {
    		err = ff.closer.Close()
    		ff.closer = nil
    	}
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top