Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 7,081 for returns (0.06 sec)

  1. cmd/postpolicyform.go

    	case float64:
    		return int64(v), nil
    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    // isString - Safely check if val is of type string without causing panic.
    func isString(val interface{}) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      private static ByteSource newNormalByteSource() {
        return ByteSource.wrap(new byte[10]);
      }
    
      private static ByteSink newNormalByteSink() {
        return new ByteSink() {
          @Override
          public OutputStream openStream() {
            return new ByteArrayOutputStream();
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

        public void setLog(Log log) {
            this.log = log;
        }
    
        /**
         * <p>
         * Returns the logger that has been injected into this mojo. If no logger has been setup yet, a
         * <code>SystemStreamLog</code> logger will be created and returned.
         * </p>
         * <strong>Note:</strong>
         * The logger returned by this method must not be cached in an instance field during the construction of the mojo.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      }
    
      private List<Entry<Object, Object>> warmUp(LoadingCache<Object, Object> cache) {
        return warmUp(cache, WARMUP_MIN, WARMUP_MAX);
      }
    
      /**
       * Returns the entries that were added to the map, so they won't fall out of a map with weak or
       * soft references until the caller drops the reference to the returned entries.
       */
      private List<Entry<Object, Object>> warmUp(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    	ns := s.namespaces.Get(podNamespace, "")
    	if ns == nil {
    		return nil, fmt.Errorf("failed to find namespace %v", ns)
    	}
    	pod := s.pods.Get(podName, podNamespace)
    	if pod == nil {
    		return nil, fmt.Errorf("failed to find pod %v", ns)
    	}
    	if util.PodRedirectionEnabled(ns, pod) {
    		return pod, nil
    	}
    	return nil, nil
    }
    
    func (s *InformerHandlers) Start() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. 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)
  7. cmd/bootstrap-peer-server.go

    	Checksum   string
    }
    
    // Diff - returns error on first difference found in two configs.
    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	if s1.Checksum != s2.Checksum {
    		return fmt.Errorf("Expected MinIO binary checksum: %s, seen: %s", s1.Checksum, s2.Checksum)
    	}
    
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    	if v == "" {
    		return nil, http.ErrNotMultipart
    	}
    	if r.Body == nil {
    		return nil, errors.New("missing form body")
    	}
    	d, params, err := mime.ParseMediaType(v)
    	if err != nil {
    		return nil, http.ErrNotMultipart
    	}
    	if d != "multipart/form-data" {
    		return nil, http.ErrNotMultipart
    	}
    	boundary, ok := params["boundary"]
    	if !ok {
    		return nil, http.ErrMissingBoundary
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        }
        return Collections.unmodifiableMap(map);
      }
    
      /**
       * For the given Enum value {@code rank}, returns the value's {@code "EnumClass.name"}, which is
       * used in exception and warning output.
       */
      private static String getLockName(Enum<?> rank) {
        return rank.getDeclaringClass().getSimpleName() + "." + rank.name();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

         *
         * @param id
         * @param url
         * @return
         */
        private ArtifactRepository getRepo(String id, String url) {
            return repositorySystem.createArtifactRepository(id, url, new DefaultRepositoryLayout(), null, null);
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @return
         */
        private ArtifactRepository getRepo(String id) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top