Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for nonempty (0.05 sec)

  1. cmd/xl-storage-errors_test.go

    	if !ok {
    		t.Fatalf("Unexpected error expecting %s", syscall.ENOTDIR)
    	}
    	if runtime.GOOS != globalWindowsOSName {
    		pathErr = &os.PathError{Err: syscall.ENOTEMPTY}
    		ok = isSysErrNotEmpty(pathErr)
    		if !ok {
    			t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY)
    		}
    	} else {
    		pathErr = &os.PathError{Err: syscall.Errno(0x91)}
    		ok = isSysErrNotEmpty(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x91")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        if (monitor.enterWhen(notEmpty, timeout, unit)) {
          try {
            return extract();
          } finally {
            monitor.leave();
          }
        } else {
          return null;
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public E take() throws InterruptedException {
        final Monitor monitor = this.monitor;
        monitor.enterWhen(notEmpty);
        try {
          return extract();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. cmd/xl-storage-errors.go

    func isSysErrTooManySymlinks(err error) bool {
    	return errors.Is(err, syscall.ELOOP)
    }
    
    // Check if the given error corresponds to ENOTEMPTY for unix,
    // EEXIST for solaris variants,
    // and ERROR_DIR_NOT_EMPTY for windows (directory not empty).
    func isSysErrNotEmpty(err error) bool {
    	if errors.Is(err, syscall.ENOTEMPTY) {
    		return true
    	}
    	if errors.Is(err, syscall.EEXIST) && runtime.GOOS == "solaris" {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      private static final long serialVersionUID = 5595510919245408276L;
    
      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
          new Monitor.Guard(monitor) {
            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
            }
          };
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
        val parts = header.split(':', limit = 2)
        if (!isSpecialHeader(parts[0])) {
          request.header(parts[0], parts[1])
        }
      }
      referer?.let {
        request.header("Referer", it)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
      return directories.flatMap {
        it.listFiles().orEmpty().filter { f -> f.isFile }.toList()
      }
    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
        val mainFiles = mainFiles()
        return mainFiles.map {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/resources/fess_message_ru.properties

    constraints.ModCheck.message                = The check digit for ${value} is invalid, ${modType} checksum failed.
    constraints.NotBlank.message                = {item} may not be empty.
    constraints.NotEmpty.message                = {item} may not be empty.
    constraints.ParametersScriptAssert.message  = script expression "{script}" didn't evaluate to true.
    constraints.Range.message                   = {item} must be between {min} and {max}.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 20 12:12:28 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  8. cmd/os-reliable.go

    			// directory" error message. Handle this specifically
    			// here.
    			return errFileAccessDenied
    		}
    	}
    	return err
    }
    
    // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns
    // syscall.ENOTEMPTY (children has files).
    func reliableRemoveAll(dirPath string) (err error) {
    	i := 0
    	for {
    		// Removes all the directories and files.
    		if err = RemoveAll(dirPath); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

              }
              throw IOException("Unexpected code $response")
            }
            println(response.body.string())
    
            for (peerCertificate in response.handshake?.peerCertificates.orEmpty()) {
              println((peerCertificate as X509Certificate).subjectDN)
            }
          }
      }
    }
    
    fun main() {
      CustomTrust().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/main/resources/fess_message_ko.properties

    constraints.Mod11Check.message = {value}의 Modulo 11 checksum이 올바르지 않습니다.
    constraints.ModCheck.message = {value}의 {modType} checksum이 올바르지 않습니다.
    constraints.NotBlank.message = {item}은 미입력입니다.
    constraints.NotEmpty.message = {item}은 미입력입니다.
    constraints.ParametersScriptAssert.message = 스크립트 식「{script}」이 true가 없습니다.
    constraints.Range.message = {item}는 {min}에서 {max}의 범위에 있어야합니다.
    constraints.SafeHtml.message = {item}은 위험한 HTML 콘텐츠가 포함되어 있습니다.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 07 06:11:30 UTC 2018
    - 11.1K bytes
    - Viewed (0)
Back to top