Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 2,283 for else (0.05 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

            int i = dstIndex - 2;
            int e = i - scope.length();
            int c = 0;
    
            do {
                if( dst[i] == '.' ) {
                    dst[i] = (byte)c;
                    c = 0;
                } else {
                    c++;
                }
            } while( i-- > e );
            return scope.length() + 2;
        }
        int readScopeWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                        : Files.createTempFile(CONSUMER_POM_CLASSIFIER + "-", ".pom");
                deferDeleteFile(consumer);
    
                project.addAttachedArtifact(createConsumerPomArtifact(project, consumer, session));
            } else if (project.getModel().getDelegate().isRoot()) {
                throw new IllegalStateException(
                        "The use of the root attribute on the model requires the buildconsumer feature to be active");
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/namespace-lock.go

    	}
    	nsLk.ref++
    	n.lockMap[resource] = nsLk
    	n.lockMapMutex.Unlock()
    
    	// Locking here will block (until timeout).
    	if readLock {
    		locked = nsLk.GetRLock(ctx, opsID, lockSource, timeout)
    	} else {
    		locked = nsLk.GetLock(ctx, opsID, lockSource, timeout)
    	}
    
    	if !locked { // We failed to get the lock
    		// Decrement ref count since we failed to get the lock
    		n.lockMapMutex.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. cmd/update_test.go

    			t.Errorf("Expected %s, got %s", "podman pull quay.io/minio/minio:"+minioVersion1, durl)
    		}
    	} else {
    		if runtime.GOOS == "windows" {
    			if durl != MinioReleaseURL+"minio.exe" {
    				t.Errorf("Expected %s, got %s", MinioReleaseURL+"minio.exe", durl)
    			}
    		} else {
    			if durl != MinioReleaseURL+"minio" {
    				t.Errorf("Expected %s, got %s", MinioReleaseURL+"minio", durl)
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/dlpack.cc

      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
        ctx.device_type = DLDeviceType::kDLCPU;
      } else if (device_type == "GPU") {
    #if TENSORFLOW_USE_ROCM
        ctx.device_type = DLDeviceType::kDLROCM;
    #else
        ctx.device_type = DLDeviceType::kDLCUDA;
    #endif
      } else {
        status->status = tensorflow::errors::InvalidArgument(
            "Unsupported Device Type for dlpack");
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            // has already been moved.
            parent = elementData(removeIndex);
          } else {
            parent = elementData(getParentIndex(removeIndex));
          }
          // bubble it up the opposite heap
          if (otherHeap.bubbleUpAlternatingLevels(crossOver, toTrickle) < removeIndex) {
            return new MoveDesc<>(toTrickle, parent);
          } else {
            return null;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/utils.go

    	case "NoSuchKey":
    		if object != "" {
    			err = ObjectNotFound{Bucket: bucket, Object: object}
    		} else {
    			err = BucketNotFound{Bucket: bucket}
    		}
    	case "NoSuchVersion":
    		if object != "" {
    			err = ObjectNotFound{Bucket: bucket, Object: object, VersionID: versionID}
    		} else {
    			err = BucketNotFound{Bucket: bucket}
    		}
    	case "XMinioInvalidObjectName":
    		err = ObjectNameInvalid{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
                children = Collections.unmodifiableList(children);
            } else {
                children = Collections.emptyList();
            }
            trail = null;
        }
    
        /**
         * @return {@link List} &lt; {@link String} &gt; with artifact ids
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top