Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 6,799 for _return (0.05 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    			port, err := parsePort(portStr)
    			if err != nil {
    				return nil, err
    			}
    			ports = append(ports, int(port))
    		}
    	}
    	return ports, nil
    }
    
    func validatePortList(ports string) error {
    	if _, err := parsePorts(ports); err != nil {
    		return fmt.Errorf("portList %q invalid: %v", ports, err)
    	}
    	return nil
    }
    
    func validatePortListWithWildcard(ports string) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	if s == nil {
    		return nil
    	}
    
    	if len(s.Items) == 0 {
    		return nil
    	}
    
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    
    	for _, item := range s.Items {
    		if err := e.Encode(xmlKeyEntry{
    			XMLName: xxml.Name{Local: item.Key},
    			Value:   item.Value,
    		}); err != nil {
    			return err
    		}
    	}
    
    	return e.EncodeToken(start.End())
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

         *
         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException
         *             if the host cannot be resolved to
         *             determine the MAC address.
         */
        byte[] getMacAddress ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         * 
         * @return the name type
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        return MinimalCollection.of(e3(), e4());
      }
    
      protected MinimalCollection<E> emptyCollection() {
        return MinimalCollection.<E>of();
      }
    
      protected final E e0() {
        return samples.e0();
      }
    
      protected final E e1() {
        return samples.e1();
      }
    
      protected final E e2() {
        return samples.e2();
      }
    
      protected final E e3() {
        return samples.e3();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	quotaConfig, err := parseBucketQuota(bucket, data)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketQuotaConfigFile, data)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	bucketMeta := madmin.SRBucketMeta{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. internal/s3select/message.go

    func (writer *messageWriter) SendRecord(payload *bytes.Buffer) error {
    	select {
    	case writer.payloadCh <- payload:
    		return nil
    	case <-writer.doneCh:
    		return fmt.Errorf("messageWriter is done")
    	}
    }
    
    func (writer *messageWriter) flushRecords() bool {
    	if writer.payloadBufferIndex == 0 {
    		return true
    	}
    	result := writer.write(newRecordsMessage(writer.payloadBuffer[0:writer.payloadBufferIndex]))
    	if result {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public Range<K> getKey() {
          return range;
        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        public boolean contains(K value) {
          return range.contains(value);
        }
    
        Cut<K> getLowerBound() {
          return range.lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return range.upperBound;
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
     *     return chain.proceed(chain.request())
     *   }
     * ```
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top