Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 449 for returns_ (0.2 sec)

  1. android/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)
  2. src/cmd/compile/internal/types2/expr.go

    		cause = check.sprintf(format, args...)
    	})
    	return cause
    }
    
    // kindString returns the type kind as a string.
    func (check *Checker) kindString(typ Type) string {
    	switch under(typ).(type) {
    	case *Array:
    		return "array"
    	case *Slice:
    		return "slice"
    	case *Struct:
    		return "struct"
    	case *Pointer:
    		return "pointer"
    	case *Signature:
    		return "func"
    	case *Interface:
    		if isTypeParam(typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    var bufreaders = []bufReader{
    	{"1", func(b *Reader) string { return reads(b, 1) }},
    	{"2", func(b *Reader) string { return reads(b, 2) }},
    	{"3", func(b *Reader) string { return reads(b, 3) }},
    	{"4", func(b *Reader) string { return reads(b, 4) }},
    	{"5", func(b *Reader) string { return reads(b, 5) }},
    	{"7", func(b *Reader) string { return reads(b, 7) }},
    	{"bytes", readBytes},
    	{"lines", readLines},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		return true
    	}
    	return false
    }
    
    // hasPerVersionSchema returns true if a CRD uses per-version schema.
    func hasPerVersionSchema(versions []apiextensions.CustomResourceDefinitionVersion) bool {
    	for _, v := range versions {
    		if v.Schema != nil {
    			return true
    		}
    	}
    	return false
    }
    
    // hasPerVersionSubresources returns true if a CRD uses per-version subresources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  5. cmd/iam.go

    func (sys *IAMSys) IsTempUser(name string) (bool, string, error) {
    	if !sys.Initialized() {
    		return false, "", errServerNotInitialized
    	}
    
    	u, found := sys.store.GetUser(name)
    	if !found {
    		return false, "", errNoSuchUser
    	}
    	cred := u.Credentials
    	if cred.IsTemp() {
    		return true, cred.ParentUser, nil
    	}
    
    	return false, "", nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        Returns:
          True if there exists a node whose name matches `op_name` and 'attr_val' if
          'attr_name' is given.
        """
    
        def match_node_name(name):
          if not node_name:
            return True
          compiled_regex = re.compile(node_name)
          match = re.fullmatch(compiled_regex, name)
          return match is not None
    
        return any(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. src/regexp/syntax/parse.go

    	// character or use \x08.
    	case 'a':
    		return '\a', t, err
    	case 'f':
    		return '\f', t, err
    	case 'n':
    		return '\n', t, err
    	case 'r':
    		return '\r', t, err
    	case 't':
    		return '\t', t, err
    	case 'v':
    		return '\v', t, err
    	}
    	return 0, "", &Error{ErrInvalidEscape, s[:len(s)-len(t)]}
    }
    
    // parseClassChar parses a character class character at the beginning of s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  8. pkg/volume/testing/testing.go

    	fc := fakeCmd
    	c := cmd
    	a := args
    	return func(cmd string, args ...string) exec.Cmd {
    		command := testingexec.InitFakeCmd(fc, c, a...)
    		return command
    	}
    }
    
    func makeFakeOutput(output string, rc int) testingexec.FakeAction {
    	o := output
    	var e error
    	if rc != 0 {
    		e = testingexec.FakeExitError{Status: rc}
    	}
    	return func() ([]byte, []byte, error) {
    		return []byte(o), nil, e
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          sum += segments[i].count;
        }
        return Ints.saturatedCast(sum);
      }
    
      @CheckForNull
      @Override
      public V get(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).get(key, hash);
      }
    
      /**
       * Returns the internal entry for the specified key. The entry may be computing or partially
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_gen.go

    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *ChecksumAlgo) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint8
    		zb0001, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	o = bts
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top