Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 132 for Floor (0.04 sec)

  1. src/go/doc/testdata/benchmark.go

    }
    
    func max(x, y int) int {
    	if x < y {
    		return y
    	}
    	return x
    }
    
    // roundDown10 rounds a number down to the nearest power of 10.
    func roundDown10(n int) int {
    	var tens = 0
    	// tens = floor(log_10(n))
    	for n > 10 {
    		n = n / 10
    		tens++
    	}
    	// result = 10^tens
    	result := 1
    	for i := 0; i < tens; i++ {
    		result *= 10
    	}
    	return result
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. src/sync/pool.go

    }
    
    // Put adds x to the pool.
    func (p *Pool) Put(x any) {
    	if x == nil {
    		return
    	}
    	if race.Enabled {
    		if runtime_randn(4) == 0 {
    			// Randomly drop x on floor.
    			return
    		}
    		race.ReleaseMerge(poolRaceAddr(x))
    		race.Disable()
    	}
    	l, _ := p.pin()
    	if l.private == nil {
    		l.private = x
    	} else {
    		l.shared.pushHead(x)
    	}
    	runtime_procUnpin()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

            def operand22 = moduleId('crib', 'shame')
            def operand23 = moduleId('plate', 'authority')
            def operand24 = moduleId('stove', 'cave')
            def operand25 = moduleId('floor', 'shelf')
            def operand26 = moduleId('snakes', 'snakes')
            def operand27 = moduleId('crib', 'ants')
            def operand28 = moduleId('comparison', 'comparison')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @CheckForNull
        public V lower(@ParametricNullness V v) {
          return getSortedSetDelegate().lower(v);
        }
    
        @Override
        @CheckForNull
        public V floor(@ParametricNullness V v) {
          return getSortedSetDelegate().floor(v);
        }
    
        @Override
        @CheckForNull
        public V ceiling(@ParametricNullness V v) {
          return getSortedSetDelegate().ceiling(v);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  5. src/runtime/runtime.go

    	godebugNewIncNonDefault.Store(p)
    }
    
    // A godebugInc provides access to internal/godebug's IncNonDefault function
    // for a given GODEBUG setting.
    // Calls before internal/godebug registers itself are dropped on the floor.
    type godebugInc struct {
    	name string
    	inc  atomic.Pointer[func()]
    }
    
    func (g *godebugInc) IncNonDefault() {
    	inc := g.inc.Load()
    	if inc == nil {
    		newInc := godebugNewIncNonDefault.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT: return %0 : tensor<1x1x1x96xf32>
    //CHECK-NEXT:}
    
    func.func @floor(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
     %0 = "vhlo.floor_v1" (%arg0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32>
     func.return %0 : tensor<1x1x1x96xf32>
    }
    
    //CHECK:func.func private @floor(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (1)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @CheckForNull
        public V lower(@ParametricNullness V v) {
          return getSortedSetDelegate().lower(v);
        }
    
        @Override
        @CheckForNull
        public V floor(@ParametricNullness V v) {
          return getSortedSetDelegate().floor(v);
        }
    
        @Override
        @CheckForNull
        public V ceiling(@ParametricNullness V v) {
          return getSortedSetDelegate().ceiling(v);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        @Override
        @CheckForNull
        public E lower(@ParametricNullness E e) {
          return delegate.lower(e);
        }
    
        @Override
        @CheckForNull
        public E floor(@ParametricNullness E e) {
          return delegate.floor(e);
        }
    
        @Override
        @CheckForNull
        public E ceiling(@ParametricNullness E e) {
          return delegate.ceiling(e);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    	memoryNodeAllocatable := resource.MustParse(fakeNodeAllocatableMemory)
    	pod1MemoryHigh := int64(math.Floor(
    		float64(podRequestMemory.Value())+
    			(float64(pod1LimitMemory.Value())-float64(podRequestMemory.Value()))*float64(m.memoryThrottlingFactor))/float64(pageSize)) * pageSize
    	pod2MemoryHigh := int64(math.Floor(
    		float64(podRequestMemory.Value())+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  10. src/crypto/tls/ticket.go

    	stateBytes := c.decryptTicket(identity, ticketKeys)
    	if stateBytes == nil {
    		return nil, nil
    	}
    	s, err := ParseSessionState(stateBytes)
    	if err != nil {
    		return nil, nil // drop unparsable tickets on the floor
    	}
    	return s, nil
    }
    
    func (c *Config) decryptTicket(encrypted []byte, ticketKeys []ticketKey) []byte {
    	if len(encrypted) < aes.BlockSize+sha256.Size {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top