Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 2,189 for else_ (0.02 seconds)

  1. docs_src/additional_responses/tutorial004_py310.py

        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            } else {
                SMBUtil.writeInt4(0, buffer, offset + 4);
            }
    
            // Group SID offset
            if (includeGroup) {
                SMBUtil.writeInt4(currentOffset, buffer, offset + 8);
                prepareSimpleSid(buffer, offset + currentOffset);
                currentOffset += 20; // Simple SID size
            } else {
                SMBUtil.writeInt4(0, buffer, offset + 8);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                             not specified. SMB signing may not work propertly.\
                              Skipping DC interrogation.""");
                }
            } else {
                final SmbSession ssn = trans.getSmbSession(NtlmPasswordAuthentication.DEFAULT);
                ssn.getSmbTree(LOGON_SHARE, null).treeConnect(null, null);
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                        // special case: if there is a windows drive letter, then keep the original return value
                        retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                    } else {
                        // Now we expect the host
                        int index = retValue.indexOf('/');
                        if (index >= 0) {
                            retValue = retValue.substring(index + 1);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                        if (value instanceof String strValue) {
                            recordString(fullPath, strValue);
                            globalStringFrequency.merge(strValue, 1, Integer::sum);
                        } else if (value instanceof List<?> list) {
                            for (Object item : list) {
                                if (item != null) {
                                    String itemName = getSingular(field.getName());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  6. 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()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. 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)
    			}
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                    inSectionElements.remove();
    
                    if (next == null) {
                        break;
                    } else {
                        inSection.clear();
                        inSection.add(next);
                        heading = next;
                    }
                } else {
                    inSection.add(next);
                }
                next = next.nextElementSibling();
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. cmd/admin-heal-ops.go

    	var hsp madmin.HealStopSuccess
    	he, exists := ahs.getHealSequence(path)
    	if !exists {
    		hsp = madmin.HealStopSuccess{
    			ClientToken: "unknown",
    			StartTime:   UTCNow(),
    		}
    	} else {
    		clientToken := he.clientToken
    		if globalIsDistErasure {
    			clientToken = fmt.Sprintf("%s%s%d", he.clientToken, getKeySeparator(), GetProxyEndpointLocalIndex(globalProxyEndpoints))
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                assertNull(second, "Second getSubject should return same result as first (both null)");
            } else if (first != null && second != null) {
                // Both non-null - should be same instance
                assertSame(first, second, "Second getSubject should return same cached instance as first");
            } else {
                fail("Inconsistent behavior: first=" + first + ", second=" + second);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top