Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for thebyte (0.12 sec)

  1. pkg/bootstrap/platform/azure.go

    // Returns the Azure tags
    func (e *azureEnv) azureTags() map[string]string {
    	tags := map[string]string{}
    	if tl, ok := e.computeMetadata["tagsList"]; ok {
    		tlByte, err := json.Marshal(tl)
    		if err != nil {
    			return tags
    		}
    		var atl []azureTag
    		err = json.Unmarshal(tlByte, &atl)
    		if err != nil {
    			return tags
    		}
    		for _, tag := range atl {
    			tags[e.prefixName(tag.Name)] = tag.Value
    		}
    		return tags
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            // array.
            while (mid > -1 && this[mid] != '\n'.code.toByte()) {
              mid--
            }
            mid++
    
            // Now look for the ending '\n'.
            var end = 1
            while (this[mid + end] != '\n'.code.toByte()) {
              end++
            }
            val publicSuffixLength = mid + end - mid
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

    import org.jetbrains.org.objectweb.asm.Label
    import org.jetbrains.org.objectweb.asm.MethodVisitor
    import org.jetbrains.org.objectweb.asm.Opcodes
    import org.jetbrains.org.objectweb.asm.Opcodes.T_BYTE
    import org.jetbrains.org.objectweb.asm.Type
    
    import kotlin.jvm.internal.CallableReference
    import kotlin.reflect.KClass
    import kotlin.reflect.KProperty
    
    
    internal
    fun publicClass(
        name: InternalName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        }
    
        override fun write(buf: ByteArray, off: Int, len: Int) = record {
            outputStream.write(buf, off, len)
        }
    
        override fun writeByte(`val`: Int) = record {
            writeByte(`val`.toByte())
        }
    
        override fun writeChar(`val`: Int) = record {
            writeInt(`val`)
        }
    
        override fun writeBoolean(`val`: Boolean) = record {
            writeBoolean(`val`)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          throw ProtocolException("constructed strings not supported for DER")
        }
        return source.readUtf8(bytesLeft)
      }
    
      fun readObjectIdentifier(): String {
        val result = Buffer()
        val dot = '.'.code.toByte().toInt()
        when (val xy = readVariableLengthLong()) {
          in 0L until 40L -> {
            result.writeDecimalLong(0)
            result.writeByte(dot)
            result.writeDecimalLong(xy)
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
              val keyInt: Int = key[keyIndex].toInt()
              buffer[i] = (bufferInt xor keyInt).toByte()
    
              i++
              keyIndex++
            }
          }
        } while (cursor.next() != -1)
      }
    
      fun closeCodeExceptionMessage(code: Int): String? {
        return if (code < 1000 || code >= 5000) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

            input.countLines()
        }
    
    
    private
    fun BufferedInputStream.countLines(): Long {
        val buffer = ByteArray(DEFAULT_BUFFER_SIZE)
        val newLine = '\n'.code.toByte()
    
        var count = 0L
        var noNewLineBeforeEOF = false
        var readCount = read(buffer)
    
        while (readCount != -1) {
            for (idx in 0 until readCount) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_test.go

    		before, _, ok := strings.Cut(line, "|")
    		if !ok {
    			return nil, errors.New("invalid test data")
    		}
    		line = before
    
    		hexBytes := strings.Fields(line)
    		for _, hexByte := range hexBytes {
    			val, err := strconv.ParseUint(hexByte, 16, 8)
    			if err != nil {
    				return nil, errors.New("invalid hex byte in test data: " + err.Error())
    			}
    			currentFlow = append(currentFlow, byte(val))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

                    isUnit -> "Unit"
                    isString -> "\"\""
                    isUInt -> "0.toUInt()"
                    isULong -> "0.toULong()"
                    isUShort -> "0.toUShort()"
                    isUByte -> "0.toUByte()"
                    else -> null
                }
            }
    }
    
    public typealias KtTypeInfoProviderMixIn = KaTypeInfoProviderMixIn
    
    public object DefaultTypeClassIds {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

       * malformed.
       */
      @Throws(IOException::class)
      fun checkLowercase(name: ByteString): ByteString {
        for (i in 0 until name.size) {
          if (name[i] in 'A'.code.toByte()..'Z'.code.toByte()) {
            throw IOException("PROTOCOL_ERROR response malformed: mixed case name: ${name.utf8()}")
          }
        }
        return name
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top