Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 6,449 for _return (0.09 sec)

  1. guava/src/com/google/common/net/MediaType.java

        this.parameters = parameters;
      }
    
      /** Returns the top-level media type. For example, {@code "text"} in {@code "text/plain"}. */
      public String type() {
        return type;
      }
    
      /** Returns the media subtype. For example, {@code "plain"} in {@code "text/plain"}. */
      public String subtype() {
        return subtype;
      }
    
      /** Returns a multimap containing the parameters of this media type. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. cmd/event-notification.go

    	return &EventNotifier{
    		targetList:     event.NewTargetList(ctx),
    		bucketRulesMap: make(map[string]event.RulesMap),
    	}
    }
    
    // GetARNList - returns available ARNs.
    func (evnot *EventNotifier) GetARNList() []string {
    	arns := []string{}
    	if evnot == nil {
    		return arns
    	}
    	region := globalSite.Region()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Ascii.java

          if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
            continue;
          }
          return false;
        }
        return true;
      }
    
      /**
       * Returns the non-negative index value of the alpha character {@code c}, regardless of case. Ie,
       * 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
       */
      private static int getAlphaIndex(char c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      // Find and return a added function by its name.
      virtual const FunctionDef* FindFunctionDef(const string& name) const = 0;
    
      // Find and return a function record added by its name.
      virtual core::RefCountPtr<FunctionRecord> FindRecord(
          const string& name) const = 0;
    
      // Return the ParsedName of Host CPU device.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. internal/http/dial_dnscache.go

    			KeepAlive: 30 * time.Second,
    		}).DialContext
    	}
    
    	return func(ctx context.Context, network, addr string) (conn net.Conn, err error) {
    		host, port, err := net.SplitHostPort(addr)
    		if err != nil {
    			return nil, err
    		}
    
    		if net.ParseIP(host) != nil {
    			// For IP only setups there is no need for DNS lookups.
    			return baseDialCtx(ctx, "tcp", addr)
    		}
    
    		ips, err := lookupHost(ctx, host)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 03 19:30:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. cmd/bitrot-streaming.go

    	if len(p) == 0 {
    		return 0, nil
    	}
    	b.h.Reset()
    	b.h.Write(p)
    	hashBytes := b.h.Sum(nil)
    	_, err := b.iow.Write(hashBytes)
    	if err != nil {
    		b.closeWithErr(err)
    		return 0, err
    	}
    	n, err := b.iow.Write(p)
    	if err != nil {
    		b.closeWithErr(err)
    		return n, err
    	}
    	if n != len(p) {
    		err = io.ErrShortWrite
    		b.closeWithErr(err)
    	}
    	return n, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled
       * request bodies.
       */
      open fun peek(): MockResponse {
        return MockResponse(socketPolicy = KeepOpen)
      }
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

            return new TransformerContext() {
    
                @Override
                public Path locate(Path path) {
                    return context.locate(path);
                }
    
                @Override
                public String getUserProperty(String key) {
                    return context.userProperties.computeIfAbsent(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/GcFinalization.java

        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
        long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds);
        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

            position = 0,
            limit = sections.length / 4,
          ) { index ->
            val entryIndex = index * 4
            val b0b1 = sections.read14BitInt(entryIndex)
            return@binarySearch target.compareTo(b0b1)
          }
    
        return when {
          offset >= 0 -> offset * 4 // This section was found by binary search.
          else -> (-offset - 2) * 4 // Not found? Use the preceding element.
        }
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top