Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,210 for cLower (0.11 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // RUN: tf-opt "-tfl-lower-static-tensor-list=allow-tensorlist-pass-through default-to-single-batch" -split-input-file %s | FileCheck %s
    
    // -----
    
    // CHECK-LABEL: tensorlistConst
    func.func @tensorlistConst(%arg0 : tensor<1xi32>) -> tensor<2x3xi32> {
      // CHECK-DAG: %[[ELEMENT0:.*]] = "tf.Const"() <{value = dense<[0, 1, 2]> : tensor<3xi32>}> : () -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/load/test.go

    }
    
    {{if .Cover}}
    
    // Only updated by init functions, so no need for atomicity.
    var (
    	coverCounters = make(map[string][]uint32)
    	coverBlocks = make(map[string][]testing.CoverBlock)
    )
    
    func init() {
    	{{range $i, $p := .Cover.Vars}}
    	{{range $file, $cover := $p.Vars}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. src/crypto/cipher/io.go

    		err = io.ErrShortWrite
    	}
    	return
    }
    
    // Close closes the underlying Writer and returns its Close return value, if the Writer
    // is also an io.Closer. Otherwise it returns nil.
    func (w StreamWriter) Close() error {
    	if c, ok := w.W.(io.Closer); ok {
    		return c.Close()
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Android10Platform.kt

        socketAdapters.find { it.matchesSocket(sslSocket) }?.getSelectedProtocol(sslSocket)
    
      override fun getStackTraceForCloseable(closer: String): Any? {
        return if (Build.VERSION.SDK_INT >= 30) {
          CloseGuard().apply { open(closer) }
        } else {
          super.getStackTraceForCloseable(closer)
        }
      }
    
      override fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. cmd/metacache-stream.go

    				continue
    			}
    		}
    	}()
    
    	return objs, nil
    }
    
    // Close and release resources.
    func (w *metacacheWriter) Close() error {
    	if w == nil || w.closer == nil {
    		return nil
    	}
    	w.streamWg.Wait()
    	err := w.closer()
    	w.closer = nil
    	return err
    }
    
    // Reset and start writing to new writer.
    // Close must have been called before this.
    func (w *metacacheWriter) Reset(out io.Writer) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. src/net/listen_test.go

    			}
    			if err := checkMulticastListener(cs[0], tt.gaddr.IP); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			if cs[1], err = ListenMulticastUDP(tt.net, ifi, tt.gaddr); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			if err := checkMulticastListener(cs[1], tt.gaddr.IP); err != nil {
    				closer(cs)
    				t.Fatal(err)
    			}
    			closer(cs)
    		}
    	}
    }
    
    var ipv6MulticastListenerTests = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top