Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 449 for returns_ (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			key:         fooKey,
    			recursive:   false,
    			expectedOut: []example.Pod{*fooObj},
    		},
    		{
    			name:        "Recursive on object key (prefix) doesn't return anything",
    			key:         fooKey,
    			recursive:   true,
    			expectedOut: []example.Pod{},
    		},
    		{
    			name:        "NonRecursive on object key (no-prefix) return object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    					}
    				}
    			}
    			// ReadFile has returned success, but our expected error is non 'nil'.
    			if err == nil && err != testCase.expectedErr {
    				t.Errorf("Case: %d %#v, expected: %s, got :%s", i+1, testCase, testCase.expectedErr, err)
    			}
    			// Expected error returned, proceed further to validate the returned results.
    			if err != nil && testCase.expectedErr == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    func oneBit8(x int8) bool   { return x&(x-1) == 0 && x != 0 }
    func oneBit16(x int16) bool { return x&(x-1) == 0 && x != 0 }
    func oneBit32(x int32) bool { return x&(x-1) == 0 && x != 0 }
    func oneBit64(x int64) bool { return x&(x-1) == 0 && x != 0 }
    
    // nto returns the number of trailing ones.
    func nto(x int64) int64 {
    	return int64(ntz64(^x))
    }
    
    // logX returns logarithm of n base 2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes_gen.go

    					return
    				}
    			}
    		case "EncodingType":
    			z.EncodingType, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "EncodingType")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    	s := spanOf(b)
    	if s == nil || b < s.base() {
    		return false
    	}
    	switch s.state.get() {
    	case mSpanInUse, mSpanManual:
    		return b < s.limit
    	default:
    		return false
    	}
    }
    
    // spanOf returns the span of p. If p does not point into the heap
    // arena or no span has ever contained p, spanOf returns nil.
    //
    // If p does not point to allocated memory, this may return a non-nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      };
    
      // If `cluster` has only a single node then returns that, otherwise returns
      // nullptr.
      Node* GetOnlyNodeIn(const Cluster& cluster);
    
      // Returns true if `cluster` is a trivial cluster containing a "sink like"
      // node -- a NoOp node that only the Sink node control depends on.
      bool IsSinkLike(const Cluster& cluster);
    
      // Returns true if `cluster` looks like an "i++" operation on an integer
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  9. src/os/os_test.go

    	{"Readdirnames", func(f *File) error { _, err := f.Readdirnames(1); return err }},
    	{"Seek", func(f *File) error { _, err := f.Seek(0, io.SeekStart); return err }},
    	{"Stat", func(f *File) error { _, err := f.Stat(); return err }},
    	{"Sync", func(f *File) error { return f.Sync() }},
    	{"Truncate", func(f *File) error { return f.Truncate(0) }},
    	{"Write", func(f *File) error { _, err := f.Write(make([]byte, 0)); return err }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          latch.countDown();
        }
    
        boolean awaitClosed() {
          return awaitUninterruptibly(latch, 10, SECONDS);
        }
    
        boolean stillOpen() {
          return !awaitUninterruptibly(latch, 1, SECONDS);
        }
    
        @Override
        public String toString() {
          return name;
        }
      }
    
      static final class Waiter {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top