Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 487 for cLower (0.12 sec)

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

        checkNotNull(bytes);
    
        Closer closer = Closer.create();
        try {
          OutputStream out = closer.register(openStream());
          out.write(bytes);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionPerformanceResults.groovy

        }
    
        void assertCurrentVersionHasNotRegressed() {
            if (hasRegressionChecks()) {
                def slower = checkBaselineVersion({ it.significantlyFasterThan(current) }, { it.getSpeedStatsAgainst(displayName, current) })
                if (slower) {
                    throw new AssertionError(Object.cast(slower))
                }
            }
        }
    
        void assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. src/cmd/internal/bio/must.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bio
    
    import (
    	"io"
    	"log"
    )
    
    // MustClose closes Closer c and calls log.Fatal if it returns a non-nil error.
    func MustClose(c io.Closer) {
    	if err := c.Close(); err != nil {
    		log.Fatal(err)
    	}
    }
    
    // MustWriter returns a Writer that wraps the provided Writer,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 14 17:58:33 UTC 2016
    - 883 bytes
    - Viewed (0)
  10. test/fixedbugs/issue6055.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "runtime"
    
    type Closer interface {
    	Close()
    }
    
    func nilInterfaceDeferCall() {
    	defer func() {
    		// make sure a traceback happens with jmpdefer on the stack
    		runtime.GC()
    	}()
    	var x Closer
    	defer x.Close()
    }
    
    func shouldPanic(f func()) {
    	defer func() {
    		if recover() == nil {
    			panic("did not panic")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 563 bytes
    - Viewed (0)
Back to top