Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,934 for returns_ (0.14 sec)

  1. src/internal/trace/resources.go

    	switch s {
    	case GoUndetermined:
    		return "Undetermined"
    	case GoNotExist:
    		return "NotExist"
    	case GoRunnable:
    		return "Runnable"
    	case GoRunning:
    		return "Running"
    	case GoWaiting:
    		return "Waiting"
    	case GoSyscall:
    		return "Syscall"
    	}
    	return "Bad"
    }
    
    // ProcState represents the state of a proc.
    //
    // New ProcStates may be added in the future. Users of this type must be robust
    // to that possibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java

         */
        Integer getIdleTimeout();
    
        /**
         * Returns the JVM options that the daemon was started with.
         *
         * @return the JVM options that the daemon was started with
         */
        Collection<String> getDaemonOpts();
    
        /**
         * Returns whether the instrumentation agent should be applied to the daemon
         *
         * @return {@code true} if the agent should be applied
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    				continue
    			}
    			select {
    			case subCh <- entry:
    			case <-doneCh:
    				return nil
    			}
    		}
    	}
    	return sys.pubsub.Subscribe(madmin.LogMaskAll, subCh, doneCh, filter)
    }
    
    // Init if HTTPConsoleLoggerSys is valid, always returns nil right now
    func (sys *HTTPConsoleLoggerSys) Init(_ context.Context) error {
    	return nil
    }
    
    // Endpoint - dummy function for interface compatibility
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		return false
    	}
    
    	if v1.Unit == v2.Unit {
    		return true
    	}
    	for _, ut := range UnitTypes {
    		if ut.sniffUnit(v1.Unit) != nil && ut.sniffUnit(v2.Unit) != nil {
    			return true
    		}
    	}
    	return false
    }
    
    // Scale a measurement from a unit to a different unit and returns
    // the scaled value and the target unit. The returned target unit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtEffects.kt

            override fun equals(other: Any?): Boolean {
                return this === other ||
                        other is KaContractReturnsSpecificValueEffectDeclaration &&
                        other.backingValue == backingValue
            }
    
            override fun hashCode(): Int = backingValue.hashCode()
        }
    
        /**
         * Represents [kotlin.contracts.ContractBuilder.returns] without arguments.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/index/suffixarray/suffixarray.go

    	if err := writeInt(w, buf, len(x.data)); err != nil {
    		return err
    	}
    
    	// write data
    	if _, err := w.Write(x.data); err != nil {
    		return err
    	}
    
    	// write index
    	sa := x.sa
    	for sa.len() > 0 {
    		n, err := writeSlice(w, buf, sa)
    		if err != nil {
    			return err
    		}
    		sa = sa.slice(n, sa.len())
    	}
    	return nil
    }
    
    // Bytes returns the data over which the index was created.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. internal/cachevalue/cache.go

    		// There is a new value, release lock and return it.
    		if v = t.val.Load(); v != nil {
    			return *v, nil
    		}
    	}
    
    	if err := t.update(ctx); err != nil {
    		var empty T
    		return empty, err
    	}
    
    	return *t.val.Load(), nil
    }
    
    // Get will return a cached value or fetch a new one.
    // Tf the Update function returns an error the value is forwarded as is and not cached.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. security/pkg/pki/util/crypto.go

    			return nil, fmt.Errorf("failed to parse the PKCS8 private key: %v", err)
    		}
    		return key, nil
    	default:
    		return nil, fmt.Errorf("unsupported PEM block type for a private key: %s", kb.Type)
    	}
    }
    
    // GetRSAKeySize returns the size if it is RSA key, otherwise it returns an error.
    func GetRSAKeySize(privKey crypto.PrivateKey) (int, error) {
    	if t := reflect.TypeOf(privKey); t != reflect.TypeOf(&rsa.PrivateKey{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      private TestingExecutors() {}
    
      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
       * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite
       * the fact that everything is still technically awaiting execution. The {@code getDelay} method
       * of any {@link ScheduledFuture} returned by the executor will always return the max long value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      private TestingExecutors() {}
    
      /**
       * Returns a {@link ScheduledExecutorService} that never executes anything.
       *
       * <p>The {@code shutdownNow} method of the returned executor always returns an empty list despite
       * the fact that everything is still technically awaiting execution. The {@code getDelay} method
       * of any {@link ScheduledFuture} returned by the executor will always return the max long value
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top