Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 7,081 for returns (0.21 sec)

  1. istioctl/cmd/root.go

    	if root.IstioConfig != defaultIstioctlConfig {
    		return err
    	}
    
    	return nil
    }
    
    func init() {
    	viper.SetDefault("istioNamespace", constants.IstioSystemNamespace)
    	viper.SetDefault("xds-port", 15012)
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(args []string) *cobra.Command {
    	rootCmd := &cobra.Command{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      abstract void setCountCheckReturnValue(E element, int count);
    
      /**
       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashSet.java

        this.elements = new Object[expectedSize];
    
        return expectedSize;
      }
    
      @SuppressWarnings("unchecked")
      @VisibleForTesting
      @CheckForNull
      Set<E> delegateOrNull() {
        if (table instanceof Set) {
          return (Set<E>) table;
        }
        return null;
      }
    
      private Set<E> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashSet<>(tableSize, 1.0f);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. doc/go_spec.html

    out to duplicate another entry in the switch, the first matching case is chosen.
    </p>
    
    <pre>
    func f[P any](x any) int {
    	switch x.(type) {
    	case P:
    		return 0
    	case string:
    		return 1
    	case []P:
    		return 2
    	case []byte:
    		return 3
    	default:
    		return 4
    	}
    }
    
    var v1 = f[string]("foo")   // v1 == 0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

        }
    
        def convertsPropertyGetterMethodCommentToPropertyComment() {
            PropertyMetaData propertyMetaData = Mock()
            _ * propertyMetaData.rawCommentText >> 'returns the name of the thing.'
    
            when:
            def result = parser.parse(propertyMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>The name of the thing.</para>'''
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @CheckForNull
        Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
        }
      }
    
      @Override
      public final String toString() {
        Runnable state = get();
        String result;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. doc/go_mem.html

    before the second call to <code>l.Lock()</code> (in <code>main</code>) returns,
    which is sequenced before the <code>print</code>.
    </p>
    
    <p class="rule">
    For any call to <code>l.RLock</code> on a <code>sync.RWMutex</code> variable <code>l</code>,
    there is an <i>n</i> such that the <i>n</i>th call to <code>l.Unlock</code>
    is synchronized before the return from <code>l.RLock</code>,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. cmd/metacache-walk_gen.go

    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *WalkDirOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 8
    	// write "Bucket"
    	err = en.Append(0x88, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. schema/field.go

    			case []byte:
    				return field.Set(ctx, value, string(data))
    			case string:
    				if i, err := strconv.ParseFloat(data, 64); err == nil {
    					field.ReflectValueOf(ctx, value).SetFloat(i)
    				} else {
    					return err
    				}
    			default:
    				return fallbackSetter(ctx, value, v, field.Set)
    			}
    			return err
    		}
    	case reflect.String:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/podcgroupns.go

    	if err != nil {
    		return nil, nil
    	}
    
    	uid, _, err := GetPodUIDAndContainerID(cgroupData)
    	if err != nil {
    		return nil, err
    	}
    	if filter != nil && !filter.Contains(uid) {
    		return nil, nil
    	}
    
    	netns, err := proc.Open(netnsName)
    	if err != nil {
    		return nil, err
    	}
    	fd, err := GetFd(netns)
    	if err != nil {
    		netns.Close()
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top